Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL join with empty data in one table
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00392660
Message ID:
00393239
Views:
17
>Try:
>
SELECT * ;
>   FROM Companies Co ;
>   LEFT OUTER JOIN Sales Sa ;
>      ON Co.KeyValue = Sa.keyBedra AND ;
>         Sa.Price > 0 ;
>   INTO CURSOR GoodResult
I didn't know you could have something like Sa.Price > 0 in the JOIN expression. I thought those expressions had to be field relop field. But I just tried it on some of my data and it worked. Does standard ANSI SQL allow that, or is it a vfp thing? Interesting. Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform