Event Analytics Foundations

Lesson, slides, and applied problem sets.

View Slides

Lesson

SQL Foundations for Event Analytics

Focus on query shapes that build reliable analytics on event streams.

Key habits

  • Define the grain explicitly (per user, per session, per device).
  • Use window functions to segment time series.
  • Keep output deterministic with stable ordering.

Module Items

  • Event Sessions

    Sessionize events by 30-minute gaps.

    medium Sign in to access medium and hard problems
  • Latest Device State

    Select the last known device status before a cutoff.

    medium Sign in to access medium and hard problems
Join Discord