Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 373 Bytes

visualising-query.md

File metadata and controls

12 lines (7 loc) · 373 Bytes

Visualising SQL query execution order

Visualising thr SQL query execution order

query

Seeing the execution order explains why you're unable to use aliases in a WHERE clause. As the SELECT statement is run last.

Therefor the alias does not exist when the WHERE claus is executed.

YT Link