SQL Query Order of Operations

SQL Query Order of Operations

The order in which SQL directives get executed:
  • FROM clause
  • WHERE clause
  • GROUP BY clause
  • HAVING clause
  • SELECT clause
  • ORDER BY clause
Read more: SQL Query Order of Operations
WHERE-clause HAVING-clause GROUP-BY-clause queries ORDER-BY-clause SELECT-clause FROM-clause order-of-operations

Follow Quizful

Send Feedback