About the “Marketplace Merchant 48-Hour Fulfillment SLA Rate” SQL Problem
Business Scenario
Operations leadership benchmarks third-party seller logistics by measuring the percentage of merchant orders dispatched within their contractual 48-hour service level agreement (SLA).
Expected Output & Criteria
Merchant fulfillment SLA compliance rates for active sellers.
Database Table Schema (PostgreSQL DDL)
PostgreSQL 16 WASMCREATE TABLE merchant_orders (
order_id VARCHAR(20) PRIMARY KEY,
merchant_id INT NOT NULL,
hours_to_dispatch INT NOT NULL,
order_amount NUMERIC(10, 2) NOT NULL
);Target SQL Clauses & Operators
Want more Aggregations practice?
Explore the full syllabus of 16 exercises and syntax guides.