个人随笔
目录
MySQL和Oracle 的SQL执行顺序
2019-11-19 23:13:12

MySQL 执行顺序

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

注:where条件的执行顺序,是从左到右

Oracle 执行顺序

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

注:where条件的执行顺序,是从右到左

 450

啊!这个可能是世界上最丑的留言输入框功能~


当然,也是最丑的留言列表

有疑问发邮件到 : suibibk@qq.com 侵权立删
Copyright : 个人随笔   备案号 : 粤ICP备18099399号-2