For each date between '2025-01-01' and '2025-01-03', compute the percentage of trips that were cancelled (by either client or driver) among all eligible trips. A trip is eligible only if neither its client nor its driver is banned. Return columns `request_at` and `cancellation_rate`, rounded to 2 decimal places. Order by `request_at` 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.