Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting records using select-sql
Message
From
26/08/2004 20:56:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
26/08/2004 20:48:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00936513
Message ID:
00936846
Views:
27
AFAIK, you would have to write a loop.

>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform