SpinTheMic
Pro

Interview practice question

Calculating DAU, WAU and MAU

Data Analyst · SQL for Analytics · Intermediate

How would you calculate daily, weekly and monthly active users in SQL?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Define "active" event clearly.
  • DAU: distinct users per day.
  • Rolling WAU/MAU: distinct users in trailing 7/28 days.
  • Self join to date spine or window over dates.
  • Stickiness = DAU/MAU.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics