← MakeMyTrip questions
CodingReported in a candidate post, Aug 2019

Group booking amounts into ranges

Filed under MakeMyTrip

Write a SQL query to count the number of booking records falling into specific amount ranges of size 500 (e.g., 0-500, 501-1000). Assume a table `bookings` with a column `amount`.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related MakeMyTrip questions

Collected from public candidate posts and coding forums. Updated Nov 2026.