Wednesday, January 28, 2015

SQL group by

When grouping, keep in mind that all columns that appear in your SELECT column list, that are not aggregated (used along with one of the SQL aggregate functions), have to appear in the GROUP BY clause too.

No comments:

Post a Comment