1. Why does SELECT price * 1.1 AS tax WHERE tax > 100 fail?
- The alias contains a syntax error.
- WHERE executes before the SELECT projection computes the alias.
- Tax math must be done in the FROM clause.
- PostgreSQL restricts alias names to 3 letters.
Hint: Because WHERE runs before SELECT, the alias 'tax' has not yet been defined or compiled when WHERE filters the rows.