Joins, window functions, and how queries actually execute.
How the database parses, plans and runs a query, and the order its clauses run in.
Inner, outer, cross and self joins, row by row, as matches are found.
GROUP BY, HAVING, ROLLUP and CUBE turning many rows into a few.
DISTINCT, CASE, COALESCE and NULLIF reshaping values in place.
Inner queries, correlated lookups and recursive CTEs feeding the outer query.
UNION, INTERSECT and EXCEPT combining the rows of two queries.
Ranks, running totals and LAG/LEAD computed over a sliding frame of rows.