Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Group By Help
Message
De
15/03/2004 18:27:13
 
 
À
15/03/2004 18:03:31
N. Lea
Nic Cross Enterprises
Valencia, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00886527
Message ID:
00886536
Vues:
20
You must list each field in the GROUP BY:

GROUP BY b.Name, a.id_no, a.name, b.account... etc.


> select a.id_no, a.name, b.account, b.name, sum(a.inv_total), 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
>
>is there anyway to do this without having to set it to 7.0 behavior? I have tried everything that I could find. Thanks!!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform