Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help with Select SQL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096128
Message ID:
00096186
Views:
20
Michelle,

Actually, I think Bob's is the best:

select distinct a.id from a,b,c where a.id = b.id or a.id = c.id

You should add DISTINCT after SELECT if you don't want to get duplicate ID's for records in a that are in both b and c. My original suggestion will return the same results, but I think Bob's will be the fastest.

>>Now you have three :)
>
>
>Yep. This place is great! I'm glad I've finally become a member.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform