Readineer
How it works
Skills
Learn
Colearn
Sample report
Pricing
Sign in
Start free
Start free
Practice
/
Beyond the Path: Pipelines, Modeling & Performance
/
Incremental merge & CDC
SQL pattern · 10 problems
Incremental merge & CDC
Graded problems on incremental merge & CDC, from easy to hard.
Easy
Medium
Hard
10 problems · about 2 h 20 min in all
Start with problem 01
Which source keys a MERGE would insert · 8 min
On this page
Easy
3
Medium
4
Hard
3
Keep going
All SQL practice
Easy
3 problems · about 26 min
01
Which source keys a MERGE would insert
8 min →
02
Pick up the next incremental batch
8 min →
03
Count active subscriptions when rows are soft-deleted
10 min →
Medium
4 problems · about 57 min
04
Classify each source key: insert or matched
12 min →
05
Rebuild current state from a CDC change log
15 min →
06
Predict the table a MERGE leaves behind
15 min →
07
Count inserts, updates and deletes between two snapshots
15 min →
Hard
3 problems · about 57 min
08
Find the keys that would break a MERGE
12 min →
09
Apply a batch to an SCD2 dimension
25 min →
10
Select a safe incremental batch with late, duplicated events
20 min →