Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00170260
Message ID:
00170276
Vues:
18
>>Is there any way using one select statement get as result a top, let's say 10
>>MAX() values from field ?
>If I understand you right,
>SELECT TOP 10 * FROM myTable ORDER BY myField DESC
>should do it.

One 'strange' thing about VFP SQL: this will give you the top 10 values, as you asked for. However, if these 10 values occur in 100 records...
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform