Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT TOP 50 behavior
Message
De
21/02/1997 00:31:55
 
 
À
20/02/1997 23:46:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00021472
Message ID:
00021482
Vues:
36
>This is one interesting behavior.
>
>SELECT NAME,MESSAGE FROM MESSAGE ORDER BY 2 DESCENDING TOP 50 INTO CURSOR TEMP
>
>The question is:
>
>Do you think we will have the first 50 name having the highest number of message or not?
>
>My result is given 51 because I have 3 people having the same number of message from 49, 50 and 51 ranked.
>
>How can we use TOP 50 and have only the first 50?

Seems fair for your purpose. But what if there were 10000 peoples with the same number of messages?!

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform