T-SQL 101: 89 Logical order of T-SQL SELECT queries
It’s unfortunate that the SELECT query in SQL isn’t written in the order that operations logically occur (if not physically). I suspect that’s one of the things that makes learning SQL a bit harder than it needs to be.
Without getting into really complex queries, you need to understand the logical order of the operations.
FROM
The starting point is to determine where the data is coming from. This is normally a table but it could be other sets of rows like views or table expressions.
2020-09-28