SQL语句所有子句逻辑处理顺序
FROM
WHERE
GROUP BY
HAVING
SELECT
表达式
DISTINCT
ORDER BY
TOP(TOP是sqlserver中特有的)/OFFSET-FETCH