what is the order of execution of where,having,group by in
select stement
Answer Posted / bobby
The order of syntax for SELECT statement is
Select Top| Distinct
From Join
On
Where
Group By
Having
Oder By
But the order of execution of SELECT statement is
1.From
2.On
3.Join
4.Where
5.Group By
6.Having
7.Distinct
8.Select
9.Order By
10.Top
| Is This Answer Correct ? | 30 Yes | 2 No |
Post New Answer View All Answers
What is role playing dimension with two examples? : sql server analysis services, ssas
Can you explain various data region available in ssrs with their use?
What is the default value of an integer data type in sql server 2005?
How do I uninstall sql server 2014?
What are the basic features of a trigger in ms sql server?
define and explain the differences between clustered and non-clustered indexes.
How to change the name of a database user?
Does union all remove duplicates?
1. Tell me your daily activities 2. If sql server installation fails at time installation what will do 3. Where does the sql server installation log details are stored 4. After the installation what will you do for memory configuration 5. What is the difference between SQL max maximum memory and AWE memory 6. How will you configure AWE memory 7. How will setup an email alert for the backup job 8. After the SQL installation what are the jobs will you configure 9. What does –g mean in the sql startup parameter 10. What is the difference between Bulked log and Full recovery model 11. What is the difference between mirroring and log shipping 12. What are the steps to be followed before in-place up gradation 13. After installing the patch the sql server does not start and application team tells to rollback the changes .In this scenario what will you do
What is awe?
Explain the purpose of indexes?
what are the important architecture components of SSRS?
What is the difference between clustered and non-clustered indexes in ms sql server?
What command is used to create a database in the sql server and how?
What is bookmark link in ssrs?