This project is a comprehensive Relational Database Management System (RDBMS) designed to analyze video game sales, critic scores, and user ratings. Built with MySQL, the project covers the entire database lifecycle from schema design and normalization to data import and complex analytical querying.
The data used in this project includes sales figures, ratings, and platform information for thousands of video games.
- Source: Kaggle - Video Game Sales with Ratings
- Link: https://www.kaggle.com/datasets/rush4ratio/video-game-sales-with-ratings
- Content: Game titles, Platforms, Years, Genres, Publishers, Global Sales (NA, EU, JP), Critic Scores, and User Counts.
The repository is organized into the following directories:
sql/: Contains the core SQL scripts, including the full database dump (schema + data) and the analytical queries used for reporting.docs/: Contains the project documentation, including detailed reports for Phase 1 (Design) and Phase 2 (Implementation), as well as the project presentation.
- Data Normalization: Raw CSV data was normalized to eliminate redundancy (e.g., separating Publishers, Genres, and Platforms into distinct tables).
- Complex Queries:
- Sales trends over the years.
- Top-performing genres and platforms.
- Regional sales analysis (NA vs. EU vs. JP).
- Correlation between Critic Scores and Sales.
- Database Objects: Implementation of Views (e.g.,
Yearly_Sales) and Stored Procedures for automated reporting.
- Ensure you have MySQL installed.
- Import the
sql/database_dump.sqlfile using MySQL Workbench or the command line to set up the schema and load the data. - Run the queries found in
sql/analysis_queries.sqlto generate insights.
Author: Ismail Ibican Spring 2024
