SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Trips and Users Cancellation Rate

Unsolved

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.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
🏢 Uber

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM Users
Full source dataset
6 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine