Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Group By Help
Message
From
17/03/2004 11:15:29
N. Lea
Nic Cross Enterprises
Valencia, California, United States
 
 
To
16/03/2004 13:54:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00886527
Message ID:
00887104
Views:
13
I attempted your suggestions, but it left me with incorrect figures. Apparently it seems to group the totals into other categories or completely leave them out.

>
> select MAX(a.id_no), MAX(a.name), MAX(b.account), b.name, sum(a.inv_total), MAX(a.inv_status) ;
>from customer_invoices a, customer_accounts b;
>where inv_status=lcoverduestatus and a.id_no=gnclientid and a.name=b.account;
>group by b.name ;
>into cursor sql_collections readwrite
>
>fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform