sql 话语顺序 where,group by,order by

sql 语句顺序 where,group by,order bySELECT accessoryItem,accessoryType,sum(quantity) as quantity,un

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