SQL Query – 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 When a query is submitted to the database, it is executed in the following order: FROM clause WHERE clause...