Curious what juicy queries we've got for you this time? Be sure to check this month's challenge!
Welcome to this month's SQL Practice! This time we have prepared something a bit more difficult. If you've finished our Window Functions course or know how to use window functions in SQL, this is a good way to test your skills.
Can You Help Monica Analyze Her Business Data?
Monica runs her own online store. She asked you, an SQL specialist, for help with some data analysis. Use your database skills and help Monica answer business questions. Can you find out which product in her store is the second most expensive? Are you able to rank her products based on their price?
You will find all the answers in the data. You just need to figure out how to get them out of the database using SQL window functions.
The queries you will be writing are not theoretical; you could reuse them in your own projects. Copy them and adapt them to your databases as needed!
This is an advanced set of exercises. If you're not familiar with SQL window functions, check out our Window Functions course first.
In each exercise, you can see a sample of the data. Look in the right-hand menu, under the "Database" tab.
Practice your SQL skills and help the store owner grow her business!
Practice SQL with our coding challenges! Each month, there’s a new set of exercises to solve with real-time feedback.