For this problem, we are using the Chinook Database again. (Remember to go the Helpful Links page
Fantastic news! We've Found the answer you've been seeking!
Question:
For this problem, we are using the Chinook Database again. (Remember to go the "Helpful Links" page on the course website for details about this database.)
Write a query that returns the Genres that I have purchased the most tracks of. I only care about genres that I've purchased at least 10 tracks. Please ignore any tracks costing a dollar or more (they are primarily TV shows). Please output two columns, the name of the genre ("Genre_Name") and the number of tracks purchased ("Number_Purchased"). Order from most purchases to least.
You need only need the tables: Track, Genre and Invoice Line. You may assume each row of invoice line has a quantity of 1.
Related Book For
Database Processing Fundamentals, Design, and Implementation
ISBN: 978-0133876703
14th edition
Authors: David M. Kroenke, David J. Auer
Posted Date: