Skip to content
Pro90 ProblemsSQL + Python

Logistics SQL & Python Interview Questions

Shipping and delivery companies track parcel journeys, driver performance, and network efficiency across complex supply chains. These SQL and Python challenges are modeled after data work at Amazon Logistics, FedEx, UPS, DHL, XPO Logistics, Maersk, Flexport, CH Robinson, Uber Freight, ShipBob, and more. Build skills in on-time delivery analysis, route optimization, cost-per-shipment metrics, carrier performance, and warehouse efficiency.

Logistics

90 total problems

SQL45
Python45
Top Companies Hiring in Logistics

Questions are relevant for real analytics problems data science teams solve at these companies.

Amazon Logistics
Amazon Logistics
UPS
UPS
FedEx
FedEx
DHL
DHL
CH Robinson
CH Robinson
XPO Logistics
XPO Logistics
Maersk
Maersk
Flexport
Flexport
Coyote Logistics
Coyote Logistics
JB Hunt
JB Hunt
Lineage Logistics
Lineage Logistics
GEODIS
GEODIS
Kuehne+Nagel
Kuehne+Nagel
DSV
DSV
Convoy
Convoy
Uber Freight
Uber Freight
GXO Logistics
GXO Logistics
ShipBob
ShipBob
Project44
Project44
FourKites
FourKites

Difficulty Distribution

Easy

16

18% of problems

Medium

31

34% of problems

Hard

38

42% of problems

Expert

5

6% of problems

What You'll Practice

On-time delivery analysis
Route efficiency metrics
Network capacity planning
Cost per shipment
Driver performance
Carrier comparison
SLA compliance tracking
Last-mile analytics

Topics Covered

21 topics
SQL· 9
aggregationbasic queries filteringcleaning transformdate timejoinsscenario sqlset operationssubqueries cteswindow functions
Python· 12
eda statisticsfeature engineeringpandas aggregationpandas applypandas basicspandas cleaningpandas datetimepandas filteringpandas mergingpandas reshapingpandas scenariopandas window

All Problems90 total

Open in editor
01
Active Parcel CarriersPro
SQLEasy
02
High-Value Overnight OrdersPro
SQLEasy
03
Delivered International ShipmentsPro
SQLEasy
04
Perishable or Hazardous ProductsPro
SQLEasy
05
Gold-Tier Business CustomersPro
SQLMedium
06
Orders With Customer DetailsPro
SQLEasy
07
Shipments With Carrier and Warehouse InfoPro
SQLMedium
08
Order Line Items With Product DetailsPro
SQLMedium
09
Delivery Exceptions With Carrier ContextPro
SQLMedium
10
Orders Without ShipmentsPro
SQLMedium
11
Late Deliveries With Full ContextPro
SQLHard
12
Order Volume by StatusPro
SQLEasy
13
Total Order Revenue per WarehousePro
SQLMedium
14
Average Freight Cost by CarrierPro
SQLMedium
15
On-Time Delivery Rate by CarrierPro
SQLMedium
16
Top 5 Customers by Total Order ValuePro
SQLHard
17
Warehouses With High Cancellation RatePro
SQLHard
18
Rank Carriers by Shipment VolumePro
SQLMedium
19
Customer Order Sequence NumberPro
SQLMedium
20
Daily Shipping Cost Running Total per WarehousePro
SQLHard
21
Most Expensive Shipment per CarrierPro
SQLHard
22
Carrier Freight Cost 3-Shipment Moving AveragePro
SQLHard
23
Order Value Change From Prior OrderPro
SQLHard
24
Shipment Weight Quartile AnalysisPro
SQLHard
25
Carriers Above Average Freight CostPro
SQLMedium
26
Customers Using Ground and Express ShippingPro
SQLHard
27
Latest Shipment per CustomerPro
SQLHard
28
Warehouse Revenue With Rank via CTEPro
SQLHard
29
Service Levels With Below-Average Freight CostPro
SQLHard
30
Recent Orders (Last 30 Days)Pro
SQLEasy
31
Monthly Order Volume TrendPro
SQLMedium
32
Average Delivery Lead Time by Service LevelPro
SQLMedium
33
Late Deliveries by Carrier and Delay DurationPro
SQLHard
34
Orders With Shipping Speed CategoryPro
SQLEasy
35
Shipments With Weight Tier LabelPro
SQLMedium
36
Customer Tier With Order SummaryPro
SQLHard
37
Countries With Customers or ShipmentsPro
SQLMedium
38
Customers With Shipments But No ExceptionsPro
SQLMedium
39
Warehouse Performance ScorecardPro
SQLHard
40
Carrier Performance ReportPro
SQLHard
41
Customer Lifetime Value SummaryPro
SQLHard
42
Delivery Exception Financial ImpactPro
SQLHard
43
Shipment SLA Compliance AuditPro
SQLHard
44
Warehouse Operations DashboardPro
SQLExpert
45
Domestic vs International Shipping AnalysisPro
SQLHard
46
Active Carrier ProfilesPro
PYTHONEasy
47
Order Status CountsPro
PYTHONEasy
48
Product Category SummaryPro
PYTHONEasy
49
Warehouse Capacity OverviewPro
PYTHONMedium
50
Delivered Domestic OrdersPro
PYTHONEasy
51
High-Value Express ShipmentsPro
PYTHONMedium
52
Unresolved Damage ExceptionsPro
PYTHONMedium
53
Gold Customer International OrdersPro
PYTHONHard
54
Orders Per WarehousePro
PYTHONEasy
55
Total Freight Cost by CarrierPro
PYTHONMedium
56
Average Shipping Cost by Service LevelPro
PYTHONMedium
57
Shipment Stats by Destination CountryPro
PYTHONHard
58
Customer Order SummaryPro
PYTHONHard
59
Orders With Customer NamesPro
PYTHONEasy
60
Shipments With Carrier DetailsPro
PYTHONMedium
61
Carriers Without ShipmentsPro
PYTHONMedium
62
Shipment Warehouse and Carrier DetailsPro
PYTHONHard
63
Full Order Line DetailPro
PYTHONHard
64
Rank Carriers by Freight RevenuePro
PYTHONMedium
65
Running Total Shipping Cost Per CustomerPro
PYTHONMedium
66
7-Day Moving Average Freight CostPro
PYTHONHard
67
Daily Order Volume ChangePro
PYTHONHard
68
Order Month and Year ExtractionPro
PYTHONEasy
69
Shipment Transit DaysPro
PYTHONMedium
70
Monthly Order Volume by CountryPro
PYTHONHard
71
Fill Missing Customer ContactsPro
PYTHONEasy
72
Normalize Freight CostsPro
PYTHONMedium
73
Categorize Delivery ExceptionsPro
PYTHONHard
74
Pivot Order Counts by Country and StatusPro
PYTHONMedium
75
Pivot Freight Revenue by Carrier and Service LevelPro
PYTHONHard
76
Classify Shipments by Weight TierPro
PYTHONMedium
77
Order Priority ScorePro
PYTHONHard
78
Cost Per Kg and Cost Per M3Pro
PYTHONMedium
79
Shipment Freight Quartile BucketingPro
PYTHONHard
80
Time-Based Order FeaturesPro
PYTHONHard
81
Carrier Performance Feature MatrixPro
PYTHONExpert
82
Order Value and Weight FeaturesPro
PYTHONHard
83
Shipping Cost Descriptive Statistics by Service LevelPro
PYTHONMedium
84
Freight Cost vs Weight Correlation by CarrierPro
PYTHONHard
85
Anomalous Freight Cost DetectionPro
PYTHONHard
86
Carrier Performance ScorecardPro
PYTHONHard
87
Customer Shipping ReportPro
PYTHONHard
88
Warehouse Throughput AnalysisPro
PYTHONExpert
89
Exception Resolution DashboardPro
PYTHONExpert
90
End-to-End Order Fulfillment ReportPro
PYTHONExpert

Ready to practice Logistics?

90 SQL and Python challenges built from real logistics data. Graded instantly in your browser — no setup required.