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

Answer Posted / bhagyashri jain

First of all,
when Group by and having clauses are there , the Where
clause can't present there, so order of group by, having is
respectively
Group by
Having

Is This Answer Correct ?    6 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to configure and test odbc dsn settings?

577


Explain what is lock escalation?

579


What is dbcc?

737


You have a table ‘test’ which is a copy of northwind employee table you have written a trigger to update the field ‘hiredate’ with the current date

604


Difference between 2NF &3NF ?

683






What does select 1 mean?

534


Explain what is the main purpose of having conversation group?

525


What is difference between drop truncate and delete?

558


How to filter records of table in SQL SERVER?

601


What is role playing dimension with two examples? : sql server analysis services, ssas

597


what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration

590


Define tool Manage Statistics in SQL Server 2000 query ?

528


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

1633


Does a full backup include transaction log?

485


Explain data warehousing in sql server?

604