Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can this be done with SQL statement
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00728373
Message ID:
00728404
Vues:
19
Ed,
Thanks for your reply. Works great !!

Gerard

>>Hi.
>>I'm wondering is there a SQL statemnt to do the following:
>>
>>My File has two fields:
>>Flda Fldb
>>---- ----
>>A 100
>>A 200
>>A 300
>>D 105
>>D 107
>>E 153
>>E 156
>>
>>I want as a result:
>>A 300
>>D 107
>>E 156
>>i.e. The highest record based on the Flda field
>
>SELECT flda, MAX(fldb) FROM MyFile GROUP BY Flda
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform