Subject | Re: [firebird-support] another make my query faster question |
---|---|
Author | Alexandre Benson Smith |
Post date | 2006-07-14T15:55:16Z |
Alexandre Benson Smith wrote:
The SQL examples should join Table C to A and not B
select * from A join B on (B.A = A.A) join C on (C.C = A.C)
I am sure that I need some sleep...
sorry again....
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br
> An example:Oh My !
> select * from A join B on (B.A = A.A) join C on (C.B = B.B)
> the join order could be
> A B C
> A C B
> B A C
> B C A
> C A B
> C B A
>
>
The SQL examples should join Table C to A and not B
select * from A join B on (B.A = A.A) join C on (C.C = A.C)
I am sure that I need some sleep...
sorry again....
see you !
--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br