About the “Fleet Route Delivery SLA Adherence” SQL Problem
Business Scenario
QuickRide Logistics guarantees delivery windows across urban delivery zones. Regional fleet dispatchers need to audit delivery completion times and identify zones failing their 90% on-time target.
Expected Output & Criteria
Delivery metrics per zone showing total packages, average transit time, and on-time percentage.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMThis challenge executes directly against the following relational schema in your browser:
CREATE TABLE courier_deliveries (
package_id INT PRIMARY KEY,
courier_id INT NOT NULL,
delivery_zone VARCHAR(30) NOT NULL,
transit_minutes INT NOT NULL,
is_on_time BOOLEAN NOT NULL
);Target SQL Clauses & Operators
Want more Aggregations practice?
Explore the full syllabus of 12 exercises, syntax guides, and interview pitfalls.