Databases · Junior · Question 12 of 75

In what logical order does the database evaluate the parts of a query?

Explanation

That's why a column alias defined in SELECT can't be used in WHERE, but can be used in ORDER BY.

Further reading

Problem with a question

Databases · Junior · question 12

Test yourself

Take the Databases · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz