Curious what juicy queries we've got for you this time? Be sure to check this month's challenge!
Welcome to our next SQL Practice! New tasks are waiting for you. If you’ve finished our SQL Basics and Window Functions courses or otherwise have equivalent knowledge, this is a good way to test your database skills. Are you ready to solve the problems in this month’s SQL practice?
In this story, you've just been hired as an SQL specialist to help Charlotte who owns and runs a hotel. Charlotte would like to gather data to help her expand the business. Can you create a ranking of room types by price? Can you calculate the running sum of the total revenue for each booking? The answers are hidden in the database; you just need to figure out how to get them out of the database using SQL.
Hint: In each exercise, you can see a sample of the data. Look in the right-hand menu, under thetab.
Practice writing SQL queries with our SQL coding practice! Every month, we release a new set of interactive exercises with real-time feedback.