SQL

A complete SQL path: fundamentals, DDL and DML, querying, joins, subqueries, CTEs, window functions, design, indexing, transactions, performance and security.

91 notes in 31 topics

Topics in SQL

Notes

SQL

UNION and UNION ALL

Stacking two result sets on top of each other. Learn the column compatibility rules, why UNION ALL is faster, and where ORDER BY belongs.

Read more
SQL

Recursive CTEs

Query a hierarchy of unknown depth, generate a series of rows, or follow a chain of references - all with one self referencing CTE.

Read more