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.