Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Group By
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00803720
Message ID:
00803747
Vues:
7
Sergey,

So just so that I understand this in the future: each field in the Group By is looking for exact matches. So, all those fields listed in the Group By have to be the same - and if they are, the SUM(payamt) is performed on those items. Correct?

Mel Cummings

>You would group on all of them
SELECT employeid, lastname, firstname, payamt,  ;
 paydate, payhow, checknum,  SUM(payamt) ;
 FROM appdata!mydata ;
 GROUP BY employeid, lastname, firstname, payamt,  ;
 paydate, payhow, checknum
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform