当前位置: 代码迷 >> SQL >> sql 话语顺序 where,group by,order by
  详细解决方案

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

热度:17   发布时间:2016-05-05 12:26:06.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
  相关解决方案