Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count() in SQL??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00128117
Message ID:
00128141
Vues:
21
Perry,

You can get what you want with one SELECT.

SELECT s_or_status, COUNT(*) FROM TableName GROUP BY s_or_status INTO CURSOR Result

Result will have one record for each Status value with the count of records that had that value.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform