Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL group by syntax
Message
From
21/09/1996 16:36:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00008348
Message ID:
00008353
Views:
34
>1) Create a cursor that have highest dates first for each
>group of field1:
>select * from Table1 order by field1,date1 desc into cursor xxx
>
>2) Create an old unique index (ok i know this is a cheap trick :))
>index on field1 to xxx unique

Or, I can use step 1 and SELECT from that cursor in step 2.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform