Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
JOIN vs WHERE
Message
 
To
17/06/2009 16:01:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01406428
Message ID:
01406729
Views:
58
>Many thanks to all who replied.
>
>To summarize the responses............
>
>When I have
>
>SELECT fields FROM yyy LEFT JOIN xxx ON condition
>
>and later have a WHERE clause involving a field in yyy
>it essentially turns the query into an INNER JOIN
>
>is this right?

Nope, it turns to INNER JOIN only if in WHERE you reference XXX table.
And that is because NULLs can't be equal or different to anything even to NULLs.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform