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

Answer Posted / lakshmi

from clause
where
group by
having
distinct
order by
select

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a sql query to display the current date?

638


Can a table have 2 foreign keys?

509


How to delete duplicate records based on single column from a table?

606


Explain indexed views and partitioned view with their syntax.

690


What is change tracking in sql server?

551






my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

1539


How ssrs maintain security?

583


How to create a dynamic cursor with the dynamic option?

557


How to verify the port number of the sql server?

562


How to find out what is the default collation in a database?

634


What are the different index configurations a table can have?

519


How do indexes help, types?

554


Can two different columns be merged into single column? Show practically?

612


Which trace flags are enabled in sql server?

528


What is xdr?

570