Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select with Subquery confusion
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00053103
Message ID:
00053187
Views:
27
Roxanne,

I always had best luck in subqueries when REPEATING a file already used by always giving the repeat instance of the file an alias and referring to all fields in the subquery using the alias. Less chance to confuse the ol SQL syntax checker.

Good luck,
Jim N

>>Why not to use:
>>SELECT * FROM ALPHA_X WHERE stype!="WL " OR progtype!="NP" ;
>> INTO CURSOR ALPHATMP
>
>I did do it that way just to get job out, but this week's learning curve was to conquer Subqueries... Was just trying to meet the daily workload AND learn something at the same time. :D)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform