Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GROUP BY: missing clause
Message
De
21/12/2006 16:33:53
 
 
À
21/12/2006 16:28:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01179682
Message ID:
01179683
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>What is wrong with this SELECT statement? I am getting "SQL: GROUP BY clause missing or invalid" error message. Please help... Thanks, Sam
>
>
>SELECT VENID_55, COMNAM_08, SUM(COST_55*TNXQTY_55) AS STDCOST, ;
>	SUM(ORDCST_55*TNXQTY_55) AS POCOST ;
>FROM VRSUMINV1 ;
>GROUP BY VENID_55 ;
>ORDER BY VENID_55 ;
>INTO CURSOR VRSUMINV2
>
In VFP9 you cannot have COMNAM_08 in the field list, because it's missed in GROUP clause.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform