Keyword sql execution order

An execution order DQL Keywords:
from, the Join ON (tables to be attached), where (filter table according to the conditions),
Group by (grouping), having (packet filter),
SELECT (select the desired columns), distinct (to weight), order by (sorting), limit (paging)

Guess you like

Origin www.cnblogs.com/gf-jie/p/12148972.html