Problem 1142 · Easy

User Activity for the Past 30 Days II

SQL teaching model. Inside the 30-day window, divide distinct sessions by distinct users and return zero when nobody is active.

Open the interactive visualisation