Find all distinct user IDs who had at least one activity entry within the 7-day inclusive window from '2025-03-01' through '2025-03-07'. Return column `user_id`, ordered ascending.
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.