Topic
Relational modeling, normalization, denormalization, constraints, snapshots, and read-model design.
Practice items tagged with SQL Data Modeling.
Pre-aggregates two one-to-many relationships before joining them to prevent fanout from corrupting financial totals.
Builds several daily business metrics in one grouped query while keeping each metric definition explicit.
Combines daily aggregation, a calendar table, and a window frame to calculate true seven-calendar-day revenue.
Distinguishes instants, local calendar values, offsets, and named time zones so APIs and persistence survive daylight-saving and locale boundaries.
Builds a race-safe upsert around database-enforced identity, explicit conflict semantics, retries, ordering, and side-effect boundaries.
Protects transactional traffic from reporting load through freshness requirements, bounded asynchronous jobs, tuned summaries, workload isolation, replicas or warehouses, and explicit capacity gates.