Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL group by syntax
Message
De
21/09/1996 16:36:49
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00008348
Message ID:
00008353
Vues:
36
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform