Learning
Dialect · PostgreSQL
Junior
Conditional CASE expressions
Aggregates, GROUP BY and HAVING
CREATE TABLE — create tables
Table constraints — PRIMARY KEY, UNIQUE and CHECK
Table relationships — FOREIGN KEY and cascading deletes
ALTER TABLE — change the schema
Transactions — COMMIT, ROLLBACK and SAVEPOINT
Middle
Schema design and first normal form
Functional dependencies, 2NF and 3NF
Denormalization — historical snapshots and read copies
Denormalization — consistency and reconciliation
Fact and dimension tables — star schema
Dimension hierarchies — snowflake schema
SCD Type 1 — overwrite dimension attributes
SCD Type 2 — track dimension history
Incremental loads and idempotent replays
CDC — capture inserts, updates and deletes
CDC — apply changes without duplicates
Data quality — duplicates, missing values and broken links
Data quality — post-load reconciliation
dbt — SQL models, source and ref
dbt — snapshots and change history
dbt — Jinja and macro arguments
dbt — macros for different SQL dialects
dbt — documenting models and columns
dbt — lineage and dependency graphs
Partition pruning and query plans
JSON fields, paths and null
JSON arrays and nested data
Regular expressions — search and validation
Regular expressions — extraction and replacement
Triggers — BEFORE and AFTER
Object privileges — GRANT and REVOKE
Migrations — schema and data
Transaction isolation and read anomalies
Senior
Gaps and islands, sessions
Retention, funnels, cohorts