- SELECT 쿼리 실행 순서 https://loghada.tistory.com/14
문법 순서
1_1. SELECT
1_2. FROM
2_1. JOIN
2_2. ON
3_1. WHERE
4_1. GROUP BY
4_2. HAVING
5_1. ORDER BY
실행 순서
1_1. FROM
1_2. ON
1_3. JOIN
2_1. WHERE
3_1. GROUP BY
3_2. HAVING
4_1. SELECT
4_2. DISTINCT
5_1. ORDER BY