This project analyzes a relational music store database using MySQL to extract valuable business insights related to customer spending, revenue trends, and popular music genres. The project demonstrates SQL querying skills through multi-table joins, aggregations, and business-driven problem solving.
- To perform end-to-end SQL analysis on a music store dataset.
- To answer key business questions related to sales, customers, and product preferences.
- To apply SQL techniques like joins, aggregations, and subqueries to solve real-world scenarios.
- MySQL Workbench
- SQL (Joins, Aggregations, Subqueries)
- Database: Music Store Database
- Tables Used:
- Customer
- Invoice
- Invoice Line
- Track
- Genre
- Employee
- Artist
- Key Fields:
- Customer details (name, country)
- Invoice amounts and locations
- Music genres and track details
- Identified the top customers based on total spending.
- Determined the countries and cities generating the most revenue.
- Analyzed the most popular music genres among customers.
- Found the best-selling invoices and top-spending customers.
- Provided insights that can guide business decisions like targeted marketing and genre-based promotions.
- Who is the senior-most employee in the company?
- Which countries have the most invoices?
- What are the top 3 invoice totals?
- Which city has the best customers based on total revenue?
- Which music genre is the most popular across different countries?
