(7) select (8) distinct
(10) <TOP> <select list>
(1) FROM <left table>
(3) <join type> JOIN <right table>
(2) ON <join condition>
(4) WHERE <where condition>
(5) GROUP BY <group list>
(6) HAVING <having condition>
(9) ORDER BY <order list>
- from table
- join condition
- join
- where conditions
- group by
- having conditions
- select
- distinct on the select
- order by
- top x rows (of the select)
No comments:
Post a Comment