Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fixing SQL statements for VFP8
Message
De
16/06/2004 15:44:45
 
 
À
16/06/2004 15:33:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00914398
Message ID:
00914415
Vues:
8
okay, going off of your example, would this be right?

SELECT MyField1, MyField2, COUNT(MyField3) FROM MyTable GROUP BY MyField1

It should be written like this:

SELECT MyField1, MyField2, COUNT (MyField3) FROM MyTable GROUP BY MyField1, MyField2

MyField1 MyField2 MyField3
1 1 1
1 2 2
2 1 3

or do I need the third field in the group by area now?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform