Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confused with joins
Message
 
 
To
11/07/2007 18:31:01
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01239367
Message ID:
01239608
Views:
10
This message has been marked as a message which has helped to the initial question of the thread.
It makes difference for OUTER JOINs. The JOIN filter conditions are applied before JOIN. The WHERE conditios are applied after.

>I didn't know you could do that. It works great.
>Thanks to all of you who "joined" in on this. :)
>
>
>>Move filter condition to the JOIN
>>
>>   ON  Sites_1.permid = History_1.permid;
>>   AND  History_1._year = ( 2005.0000 );
>> WHERE  Sites_1.status = ( "TRP" );
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform