查詢語句的執行順序

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
相關文章
相關標籤/搜索