Runtyme
All practice problems

Data Engineering · SQL · Warm-up

SQL interview question: The Case File

Which shipment ID is carrying order WED-500? 500 cups of Golden Chai. One wedding. Zero deliveries.

The problem

  • Which shipment ID is carrying order WED-500?

You'll use: SQL (SQLite) · SELECT & WHERE · JOIN · GROUP BY · TRIM & datetime() · Data cleaning

Solve it free in your browser3–6 min · You write SQL
Show a hint

The starter query returns nothing. Look at all the shipments: SELECT * FROM shipments;

What this teaches (spoiler)

Real-world text is messy: whitespace, casing, typos. Normalise with TRIM/UPPER before comparing — and better, validate on the way in.

Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.