For each calendar date present in the activity logs, count the number of distinct users who performed at least one action on that date. Return columns `activity_date` and `active_users`. Order by `activity_date` descending (most recent date first).
Loading…
Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.
Ask questions, share alternate queries, and explore solutions
Your recent query executions and answer checks
This will insert the verified MySQL solution into your editor so you can study how each clause transforms the table.