Subscription Commerce Analytics Path · Mission 12 of 25Hard

Event-derived current state

Mirror image of M11: pick the LAST event per subscription via ROW_NUMBER PARTITION BY ORDER BY event_ts DESC. Output reveals subscription terminal-state distribution — useful sanity check before reconciling against the snapshot table in M13.

The Brief

You'll practice

Last event per subWindowQUALIFY-equivalent