Order of execution of a Query Complete SELECT query SELECT DISTINCT column, AGG_FUNC(column_or_expression), … FROM mytable JOIN another_table ON mytable.column = another_table.column WHERE constraint_expression GROUP BY column HAVING constraint_expression ORDER BY column ASC/DESC LIMIT count OFFSET COUNT; FROM and JOINs 테이블 병합 🔻 WHERE 행 필터 🔻 GROUP BY 그룹 🔻 HAVING 그룹 행 필터 🔻 SELECT 열 선택 🔻 DISTINCT ..