查询语句的执行顺序

1  from  select 2, join ..on查询 3,where,di 4,group by vi 5 having ,join 6,select 7,distinct, 8,order by    例如,查询平均工资高于8000的部门的最高和最低 工资 select   max(sal),min(sal),depto  from emp   group by depto   havi
相关文章
相关标签/搜索