Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't know waht the code means
Message
From
05/03/1997 01:53:52
 
 
To
04/03/1997 23:00:59
Ron Tse-Jung Huang
Leader Professional Consulting
Shin-Chu, Taiwan
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00022886
Message ID:
00022900
Views:
39
>Dear all,
>
>I got a small portion of code which I cannot understand what it does,
>
>SET DELETED ON
>SET SAFETY OFF
>select ins_id, count(sampnum); <---------
>from spitem;
>where end_ass 2;
>into table q_anasum;
>group by ins_id;
>order by ins_id
>
>Can anyone help me figure out what the function (count()) do here? Does it
>output a number or something?
>
>Any help appreciated, thanks in advance.
>
>Best regards,
>Ron.

It will return the number of records per group ins_id.
output will be ins_id field & total no. of records.
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform