SQL Practice Logo

SQLPractice Online

Level 8 - PrincipalDebugging Questionsm2 consistency transactions scale

Debug Replay Ordering

Fix replay query to process deterministic order: SELECT event_id, aggregate_id FROM order_events WHERE aggregate_id='ord_22';

Schema Context

order_events(event_id, aggregate_id, version_no, payload, created_at)