Read the full detailed article here.
This project uses SQL to analyze the dataset of an online music store. The goal of the project is to answer a set of questions about the store's business performance and help in its growth by making better decisions.
To run this project on your machine you need to install any SQL-supported DBMS then follow the steps below:
- Create a database.
- Create tables using the schema diagram provided below.
- Import csv files provided in the dataset folder.
Note: If you are using PostgreSQL then restore the backup file of the database and save yourself some time.
- Postgre SQL
- PgAdmin4
Throughout the development of this project, I have sought inspiration from a pivotal video source: https://youtu.be/VFIuIjswMKM
You can use this dataset to build your own project and practice your SQL skills.
The following are a few of the questions that are answered in the project (check out analysis.sql file for the rest):
- What are the most popular genres of music?
- What are the most popular artists?
- What are the most popular songs?
- What are the average prices of different types of music?
- What are the most popular countries for music purchases?
The results of the project are as follows:
- The most popular genre of music is "Rock".
- The most popular artist is "Queens".
- The most popular song is "War Pigs".
- The average price of an album is $1.
- The most popular country for music purchases is the United States.
The project was successful in answering the set of questions about the store's business performance. The results of the project can be used by the store to make decisions about its marketing and product offerings.