SQL关键字执行顺序

select[distinct]
from
join(如left join)
on
where
group by
having
union
order by
limit

原文地址:https://www.cnblogs.com/guoyx/p/13898691.html