May 2020
Beginner
564 pages
14h 9m
English
It's important to understand that there is a specific order you write SQL query clauses in, as well as a specific order that they are actually executed in by MySQL engine.
You write SQL query clauses in this order:
The order that the clauses are run in by the MySQL engine is as follows:
This is why you can only use column aliases from the SELECT clause in the ORDER BY clause. Understanding the order that MySQL actually runs your clauses in can help you to better understand how your query works or doesn't work.
There is a setting in MySQL that overrides this default behavior for the ...
Read now
Unlock full access