Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to SELECT all fields with one field being DISTINCT?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00583382
Message ID:
00583395
Views:
28
Seems you do not care what are other field values. Then try:
sele * from... GROUP by myPrimaryKey


>Hi - is there a way to select all the fields in a table with an SQL SELECT command checking one field as DISTINCT... a bit like this but this doesn't work...
>
>SELECT * DISTINCT myPrimaryKey FROM myTable INTO CURSOR myCursor
>
>Any ideas?
>
>Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform