1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
MachineNumber TotalRed TotalWhite 12 34 12 10 45 21 5 44 33 12 46 41 12 21 11 10 19 32 10 67 6 4 11 12 5 44 11
1: 2: 3:
select machinenumber, sum(totalred), sum(Totalwhite) from yourtable group by machinenumber