DB Error: ERROR: syntax error at or near "GROUP" LINE 45: GROUP BY names ^