General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2000 Server
>Follow question to this post....
>
>Whenever you have specified some sort of fields in your query, you must put those fields also in the group by clause when there's a sum(field) in your select? Just a bit confused. :<)
Whenever you use GROUP BY, all fields must either
1. Be included in the GROUP BY
OR
2. Have an aggregate function SUM(), COUNT(), MIN(), etc
Previous
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