General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only