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
发布时间: 2013-02-25 10:23:36 作者: rapoo
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