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

2014-11-24 10:16:26 · 作者: · 浏览: 0

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
www.2cto.com