Subject Re: [firebird-support] JOINs vs WHERE
Author David Johnson
The former syntax is an implicit inner join. It is more common in industry where programmers are building queries on a daily basis because it is easier for programmers to read, but it is identical in function to the explicit join syntax you are asking about.

The explicit syntax allows easier refactoring to outer joins, and may give the optimizer better direction in binding complex queries, but once the binding (prepare) is done the performance should be the same.
----- Original Message -----
From: Steffen Heil
Sent: Wednesday, March 10, 2004 1:47 AM
Subject: [firebird-support] JOINs vs WHERE


I have a question. It is very SQL-basic.

What are JOINs good for?

From what I read, I can do

select a.avalue, b.bvalue
from atable a, btable b
where =


select a.avalue, b.bvalue
from atable a join btable b
on =

Is there a difference? Until now, I only used the former approch, as it
seems more "natural" to me.

I also read about differences between diffent kinds of JOINS [left, inner,
outer, ..?]
Is there a good place to read about the differences?


Yahoo! Groups Sponsor

Yahoo! Groups Links

a.. To visit your group on the web, go to:

b.. To unsubscribe from this group, send an email to:

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[Non-text portions of this message have been removed]