Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting records using select-sql
Message
From
26/08/2004 20:50:09
 
 
To
26/08/2004 11:30:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00936513
Message ID:
00936845
Views:
21
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform