# SQL - SELECT Order of Operations

The ANSI standard defines the order in which a SELECT statement must be written, but the Order of Operations defines the order in which the database processes the statement.

![SQL - SELECT Order of Operations](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/09/052aaa9b9ebb4733880fcef44e3f8461.png)

- Category: SQL
- Level: Apprentice
- Tags: group by, having, join, order by, select, sql, where
- Updated: September 18, 2026

Source: https://www.ask-codey.com/cheat-sheets/sql-select-order-of-operations
