what is the order of execution of where,having,group by in
select stement

Answer Posted / sri

1. WHERE
2. GROUP BY
3. HAVING

Is This Answer Correct ?    39 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to sort query output in descending order in ms sql server?

536


What is use of except clause? How it differs from not in clause?

594


What do you mean by a Composite primary key?

586


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

522


Explain indexed views and partitioned view with their syntax.

676






How to drop existing views from a database in ms sql server?

524


How to create new tables with "select ... Into" statements in ms sql server?

506


What do you understand by mirroring and mention the advantages of the mirroring?

572


What is a partition function in sql server?

533


What is user defined stored procedures?

559


What are sparse columns?

583


What are the types of user defined functions in sql server?

493


While you are inserting values into a table with the insert into .. Values option, does the order of the columns in the insert statement have to be the same as the order of the columns in the table?

617


How do I perform an unattended install of sql server 2000?

596


What is database dimension? : sql server analysis services, ssas

615