2147 GROUP BY contains too many columns

Advantage Error Guide

Problem: The GROUP BY clause of the statement contains too many items.

Solution: Reduce the number of items in the GROUP BY clause.