Can you have an order by in a subquery?
Only if TOP is also specified
Where can you put a subquery?
In the select clause (as a column), as a joined table (inline query, derived table), or in the where clause.
What is the difference between a subquery and a correlated subquery
A correlated subquery references the main query