Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fixing SQL statements for VFP8
Message
From
16/06/2004 15:44:45
 
 
To
16/06/2004 15:33:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00914398
Message ID:
00914415
Views:
9
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform