Runtyme
All practice problems

Data Engineering · SQL · Hard

SQL interview question: Late-Night Orders

How many orders were placed on 2026-11-06 in India (IST)? The till and the database disagree about the date.

The problem

  • How many orders were placed on 2026-11-06 in India (IST)?

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

Solve it (expert level)3–6 min · You write SQL
Show a hint

The column name says it all: _utc.

What this teaches (spoiler)

Store timestamps in UTC, but convert to the business's time zone before grouping by day.

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