下面哪一个是MySQL查询语句的正确执行顺序()
A SELECT--->FROM(includingJOINs)--->WHERE--->GROUPBY--->HAVING--->DISTINCT--->ORDERBY--->LIMIT/OFFSET
B SELECT--->DISTINCT--->
C FROM(includingJOINs)--->WHERE--->GROUPBY--->HAVING--->SELECT--->DISTINCT--->ORDERBY--->LIMIT/OFFSET
D FROM(includingJOINs)--->WHERE--->GROUPBY--->HAVING--->DISTINCT--->