Snowflake
Foundations Track · Easy · 15 min
Late Shipment Rate By Carrier
Snowflake is reviewing late shipment rate by carrier through a scorecard. Return the percentage of shipments that arrived late by carrier_name. Output carrie...
Company labels are directional practice context, not official interview guidance.
Objective
Practice query basics through a Snowflake-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.
Snowflake is reviewing late shipment rate by carrier through a scorecard. 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 | carrier_name | ||
|---|---|---|---|
| 1 | NorthLine | 2024-05-03 | 2024-05-02 |
| 2 | NorthLine | 2024-05-05 | 2024-05-07 |
| 3 | SwiftAir | 2024-05-06 | 2024-05-06 |
| 4 | SwiftAir | 2024-05-09 | 2024-05-11 |
| 5 | SwiftAir | 2024-05-10 | 2024-05-10 |
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.