Don't GROUP BY qtyAssigned.SELECT t.PlantID
,Sum(t.QtyAssigned)qty
FROM dbo.inv_TagAssignments t
GROUP BY t.plantID --, t.qtyAssigned
Order by PlantId asc
=================================================
We are far more concerned about the desecration of the flag than we are about the desecration of our land. -Wendell Berry