I am trying to run a SQL that selects the maximum count by department...
For example, below is TABLE1 with the following fields TOTAL, DEPART, BUYER. The results should be grouped by DEPART. Any help greatly appreciated!
TOTAL, DEPART, BUYER
1, 1254, 10740431,
37, 1254, 12680081,
1, 1255...