Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting records using select-sql
Message
De
26/08/2004 20:50:09
 
 
À
26/08/2004 11:30:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00936513
Message ID:
00936845
Vues:
22
how about this? i want to count all unique comid in table inout. so i try this,


select count(*), comid from inout group by comid
which gives me,
cnt comid
1    01
2    02
1    04
i want it to appear like,
01 02 04
1   2  1 
how will i be able to do that? is there any way i can make the column comid as field names?

pls help. TIA.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform