What is the order in which the SQL query is executed? list
them in order.

Answer Posted / nandkumar karlekar

The order of Execution is as follows
1.From clause and joins
2.independent subqueries in the where clause
3.where clause last condition execute first but if the
index is present then these condiyions execute first

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the order by used for?

622


what is a transaction? : Sql server database administration

473


What are ddl triggers and types of ddl trigger?

608


How to delete a login name in ms sql server?

536


What will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?

651






How to generate create view script on an existing view?

562


there is a trigger defined for insert operations on a table, in an oltp system. The trigger is written to instantiate a com object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration

484


What happens if the update subquery returns no rows in ms sql server?

591


Can we check locks in database? If so, how can we do this lock check?

530


Is it safe to delete log files?

525


How to optimize stored procedure optimization?

519


How to download microsoft sql server 2005 express edition?

576


Tell me what is the order in which the sql query is executed?

531


can you implement data mining in SSRS?

113


how many bits ip address consist of? : Sql server database administration

461