Runtyme
All practice problems

Data Engineering · SQL · Warm-up

SQL interview question: Rupees and Paise

How many rupees (₹) did Banjara Hills actually collect? (Each payment once.) The revenue number has too many zeros.

The problem

  • How many rupees (₹) did Banjara Hills actually collect? (Each payment once.)

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

Look at the unit column. Two apps, two units, and some are messy.

What this teaches (spoiler)

Never sum values in different units. Normalise units (and deduplicate) before aggregating money.

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