1: 2: 3: 4: 5: 6: 7:
UPDATE Testing SET weight = weight/b.weight FROM Testing a inner join ( SELECT SUM(weight) as 'weight' FROM Testing GROUP BY category ) b on a.Category = b.Category