SELECT accessoryItem,accessoryType,sum(quantity) as quantity,unit,notes FROM accessoryRequirements
where accessoryId=1
group by accessoryItem,accessoryType,unit,notes
order by accessoryItem
where accessoryId=1
group by accessoryItem,accessoryType,unit,notes
order by accessoryItem