sql语句关键字的执行顺序

  1. from
  2. on
  3. join
  4. where
  5. group by   
  6. with cube / with rollup
  7. having
  8. select
  9. distinct
  10. order by

 

posted @ 2021-10-25 15:46  s。  阅读(39)  评论(0编辑  收藏  举报