One question that is asked in almost every interview about the steps involved in execution of sql query with example?
Thanks in advance.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Bikesh SrivastavaPosted Sep 8, 2016, 3:03 AM
Order of execution
When you execute a SQL Query, it will be executed in the following sequence.
FROM
ON
JOIN
WHERE
GROUP BY
HAVING
SELECT
DISTINCT
ORDER BY
TOP
Tapan PatelPosted Sep 7, 2016, 11:24 AM