Search ⌘K
Amazon
Amazon

Foundations Track · Easy · 15 min

Late Shipment Rate By Carrier

At Amazon, analysts are preparing a readout focused on late shipment rate by carrier. Return the percentage of shipments that arrived late by carrier_name. O...

Foundations Track
Easy
15 min
query basics

Company labels are directional practice context, not official interview guidance.

Timer 00:00
Back to practice

Objective

Practice query basics through a Amazon-tagged business scenario.

Approach

Use this track to lock in clean query structure, basic filtering logic, and confidence with grouped output.

Company context

Company labels are directional practice context, not official interview guidance.

At Amazon, analysts are preparing a readout focused on late shipment rate by carrier. Return the percentage of shipments that arrived late by carrier_name. Output carrier_name and late_pct rounded to two decimals, sorted by carrier_name.

shipments
shipment_id INT
carrier_name VARCHAR(30
shipment_idcarrier_name
1NorthLine2024-05-032024-05-02
2NorthLine2024-05-052024-05-07
3SwiftAir2024-05-062024-05-06
4SwiftAir2024-05-092024-05-11
5SwiftAir2024-05-102024-05-10
Editor
SQL workspace

Run queries against the protected question data, then submit once the result shape looks right.

Sign in to run SQL

Create a free account or sign in before running queries against protected question data.