← Files Technical Interview CopilotARCHIVED FILE

references/sql-data-rubric.md

832 Bytes · Nov 9, 2026 · 01:33 UTC

↓ Download file

See the change to this file →

# SQL and data-system interview rubric

SQL correctness: source grain, joins, fan-out, aggregation, NULL handling, filter semantics, date boundaries/time zones, windows, duplicates, dialect.

Pipeline scenarios: CDC deletes/updates, ordering, idempotency, replays, checkpoint persistence, partial failure, backfills, schema evolution, quality SLOs and safe deployment.

Data model: dimensions/facts, SCD variants, metric ownership, cardinality and performance. Always prove correctness on a small sample before suggesting optimizations. Don't run user SQL on live systems without authorization.

Example faulty case: orders (1 row per order) joined to order_items (many rows per order) can duplicate order-level totals; aggregate children to consistent grain where appropriate. The correct solution depends on the requested metric.

SHA-256: 0da88fdb4b081c043ba45b777b90fc154b6c260c55262deb4b679dfd98ff0b32