SELECT accessoryItem,accessoryType,sum(quantity) as quantity,unit,notes FROM accessoryRequirements
where accessoryId=1
group by accessoryItem,accessoryType,unit,notes
order by accessoryItem
sql 语句顺序 where,group by,order by
猜你喜欢
转载自jackleechina.iteye.com/blog/1812647
今日推荐
周排行