All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
Data Engineering · SQL · Hard
SQL interview question: Show Me the Rupees
How many rupees (₹) did Bandra actually collect? (Each payment once.) The revenue number has too many zeros.
The problem
- How many rupees (₹) did Bandra 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.