Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to SELECT all fields with one field being DISTINCT?
Message
 
To
19/11/2001 09:44:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00583382
Message ID:
00583410
Views:
26
Thanks All - the GROUP BY is the cookie!

Thanks also Daniel - that's just the job - basically I have a customer table and an orders table - I have done a LEFT JOIN so that I get all customers (some may not have ordered yet) BUT I only want one instance of the customer in my final table - it's a kind of "meet all needs" SELECT statement...

Thanks for your help...
Chris Maiden
Email
Web
Previous
Reply
Map
View

Click here to load this message in the networking platform