SQL pattern · P24 · 8 problems

Sessionization and event sequences

Graded problems on sessionization and event sequences, from easy to hard.

8 problems · about 1 h 20 min in all
Start with problem 01Minutes since previous event per user · 5 min
Learn it first · P24The session that joins two usersA LAG without PARTITION BY measures the gap across users and merges their journeys.Read the lesson →