Skip to content

SQL project analyzing a digital music store database with queries on sales, customers, employees, and music tracks to extract business insights.

Notifications You must be signed in to change notification settings

Harsh-Belekar/Music-Store-SQL-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎡 Music Store SQL Analysis

This project analyzes a digital music store database using PostgreSQL.
The database contains information about employees, customers, invoices, tracks, playlists, artists, albums, and more.
Through SQL queries, we explore sales trends, customer behavior, popular genres, top artists, and revenue insights.


πŸ› οΈ Tools & Technologies

  • PostgreSQL
  • SQL (queries, joins, aggregations, subqueries)
  • pgAdmin / psql (for running queries)
  • Git & GitHub for version control

πŸ“‚ Project Files

  • music_store_csv.zip β†’ Contains all 11 dataset files in CSV format
  • schema_diagram.png β†’ ER diagram showing relationships between tables
  • Create_table_query.sql β†’ SQL queries to create tables
  • Questions.txt β†’ Business/analysis questions
  • Answers.sql β†’ SQL queries answering the analysis questions

πŸ—„οΈ Database Schema

The database has 11 tables:

  • Employee β†’ Employee details
  • Customer β†’ Customer info
  • Invoice β†’ Purchase invoices with billing details and total
  • Invoice_Line β†’ Details of tracks purchased in each invoice
  • Track β†’ Tracks information
  • Playlist β†’ Music playlists
  • Playlist_Track β†’ Mapping between playlists and tracks
  • Artist β†’ Artist information
  • Album β†’ Albums created by artists
  • Media_Type β†’ File/media type of tracks
  • Genre β†’ Music genres

πŸ“Œ See schema_diagram.png for a complete Entity-Relationship diagram.


πŸš€ How to Run

  1. Clone this repository:
   git clone https://github.com/Harsh-Belekar/Music-Store-SQL-Analysis.git

πŸ“§ Contact

πŸ”— LinkedIn – Harsh Belekar

About

SQL project analyzing a digital music store database with queries on sales, customers, employees, and music tracks to extract business insights.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published