Structure of the Query
Select */List_of_Columns/functions/experssions
[from table1(tab2............)]
[where condition]
[Group by col1,col2,........]
[Having condition]
[Order by col1,col2,.........]
[For XML modes]
But Execution wise the order will be different........
Select */List_of_Columns/functions/experssions
[from table1(tab2............)]
[where condition]
[Group by col1,col2,........]
[Having condition]
[Order by col1,col2,.........]
[For XML modes]
But Execution wise the order will be different........
- It starts from FROM clause
- then WHERE clause
- then Group by clause
- then Having clause
- then Select
- then Order by clause
No comments:
Post a Comment