Music Store Sales Analysis-- SQL Project

mayanksri461994 125 views 21 slides Aug 12, 2024
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

To analyze sales data from a music store to gain insights into sales performance, customer behavior, and product trends.


Slide Content

SQL Project:
Mayank’s
Music Company
A Project on Music Store Sales Analysis
https://www.linkedin.com/in/mayank-srivastava-6a8421105/
Search
Home
Library
Our Music Playlists

Project Summary
To analyze sales data from a
music store to gain insights
into sales performance,
customer behavior, and
product trends.
OBJECTIVE

Company has 3500+ tracks, 4757
transactions, across 700 invoices.

The company has shared 11 csv files
to complete the required analysis.
ABOUT THE
DATASET

Sub Query

Group By, Joins

Rank

Visualizations
FEATURES OF THE
TOPIC

MySQLfor data querying
and manipulation

Python(Pandas,
Matplotlib, Seaborn)
TOOLS USED
01 02
03 04
3:15min
3:15min
3:15min
3:15min

Connecting to Music Co. Database

Data Schema

BASIC
QUESTIONS
Search
Home
Library
Our Music Playlists

Calculate the total revenue generated from all sales. Retrieve
the total number of sales transactions.

Identify the country with the most customers.

Who is the senior most employee based on job title?

Which countries have the most Invoices?

What are top 3 values of total invoice?

ADVANCED
QUESTIONS
Search
Home
Library
Our Music Playlists

Which city has the best customers? We would like to throw a promotional Music
Festival in the city we made the most money. Write a query that returns one city
that has the highest sum of invoice totals. Return both the city name & sum of all
invoice totals.

Who is the best customer? The customer who has spent the most money will be
declared the best customer. Write a query that returns the person who has spent
the most money.

Write query to return the email, first name, last name, & Genre of all
Rock Music listeners. Return your list ordered alphabetically by email
starting with ‘A’.
.
.
.

Revenue Contribution by genre: Calculate the percentage of
total revenue contributed by each genre.

Let's invite the artists who have written the most rock music
in our dataset. Write a query that returns the Artist name and
total track count of the top 10 rock bands

Return count of track_idsthat have a song length longer than the average song
length. Return the track_idand Milliseconds for each track. Order by the song
length with the longest songs listed first

Find how much amount spent by each customer on artists? Write a query to return
customer name, artist name and total spent.
. . .

We want to find out the most popular music Genre for each country. We determine
the most popular genre as the genre with the highest amount of purchases. Write
a query that returns each country along with the top Genre. For countries where
the maximum number of purchases is shared return all Genres.

Write a query that determines the customer that has spent the most on music for
each country. Write a query that returns the country along with the top customer
and how much they spent. For countries where the top amount spent is shared,
provide all customers who spent this amount

CREDITS: This presentation template was created by Slidesgo, and
includes icons by Flaticonand infographics & images by Freepik
Thanks!

[email protected]

https://www.linkedin.com/in/mayank-srivastava-6a84211054

https://www.hackerrank.com/profile/mayanksri461994

https://github.com/Mayank4694

https://www.kaggle.com/mayanksrivastava469
Do you have any questions?Search
Home
Library
Our Music Playlists