"MikeL7" <webforumsuser@macromedia.com> wrote in
message
news:fh58m3$dp8$1@forums.macromedia.com...
> Try this
> SELECT A.*,B.*,C.* FROM A, B, C WHERE A.AID = B.BAID AND
B.BID = C.CBID
> WHERE etc... etc......
While this may work, you're not giving the database engine a
chance to
optimize things,
this statement instructs that database to create a relation
between all
records of a, and all records of b and all records of c, (a
huge dataset)
which it then filters down.
It's more efficient if you want only certain records that
match other
records by letting the database know that by using a JOIN
statement.
Joris