SQL: GROUP BY clause is invalid (Error 1807)
There is an error in the GROUP BY clause. For more information, see
SELECT - SQL.