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

Can you explain the disadvantages/limitation of the cursor?

674


Which is better statement or preparedstatement?

694


How retrieve field names from the table in SQL through JAVA code?

1577


How to recompile stored procedure at run time?

727


What is 'Join' and explain its various types.

804






Do you know data definition language, data control language and data manipulation language?

797


What is NOT NULL Constraint in sql server 2012?

751


What are the disadvantages of primary key and foreign key in SQL?

806


What is the difference between composite index and covering index?

683


How to add a new column to an existing table with "alter table ... Add" in ms sql server?

755


What are the database objects? : SQL Server Architecture

703


How to access the deleted record of an event?

745


How to insert multiple rows with a subquery?

724


Give some Scenario for Non Clusterd index? Can we write system defined functions in side The Function? Wat is the Unique Datatype?

2267


Define msdb database?

785