"SQL Devil himself"....that's a good one. :-)
But like I always say...there is a time and place for just
about everything.
"Pat Shaw" <pat@nomail.com> wrote in message
news:f5j3lk$e23$1@forums.macromedia.com...
> Hmmm..........Be very careful with Cross Joins. They can
be the work of
> the SQL Devil himself!
>
>
> "Pizza Good" <PizzaGood@earthlink.com> wrote in
message
> news:f5j2u9$dbu$1@forums.macromedia.com...
>> Also, take a look at this:
>>
>> Cross Join
>>
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/sqlp/rbafymstcrojo.htm
>>
>>
>>
>> "jjjhbj111" <webforumsuser@macromedia.com>
wrote in message
>> news:f5im1f$d4$1@forums.macromedia.com...
>>>I have two tables one name class1 and the other
class2 where there is no
>>>join
>>> possible.
>>> They are for a search result where I also have a
conditon that is to be
>>> met
>>> that they both have a status as being 'active'.
>>> Do I do it as one SELECT DISTINCT gving
conditions for one table then
>>> the
>>> other and
>>> WHERE class1.status = 'active' AND
class.2.status = 'active'
>>> Should it be SELECT DISTINCT gving conditions
for one table then
>>> SELECT DISTINCT gving conditions for second
table.
>>>
>>> I am only used to inner. left and right joins.
>>>
>>> Hope someone can help, not sure whether you can
have two SELECT
>>> statements in
>>> one recordset
>>>
>>
>>
>
>