This project simulates a basic streaming platform database built with MySQL.
It includes users, movies, genres, ratings, and viewing history β allowing data analysis like top movies, user activity, and genre-based performance.
usersβ platform users (name, email)moviesβ movies (title, year, duration)genresβ movie genres (Sci-Fi, Drama, etc.)movie_genresβ many-to-many relation between movies and genresratingsβ user-submitted ratings (1β10)watch_historyβ viewing history with timestamps
- Top 3 highest rated movies
- Most active users (by number of ratings)
- Average rating per genre
- Most watched movies
- Who watches the most content?
- Average movie duration per user (based on ratings)
schema.sqlβ database structuredata.sqlβ sample dataqueries.sqlβ analytical SQL queries
- MySQL
- MySQL Workbench
- Pure SQL (no frameworks)
π Power BI Dashboard This repository also includes a Power BI report (netflix-sql.pbix) based on the database schema and data.
Report includes: Average movie ratings by title
Average ratings by genre
Most active users by number of ratings
Average ratings by release year
This dashboard can be used for data analysis, reporting, and as part of a portfolio for data-related job applications.
π§ How to open: To view the report, download and install Power BI Desktop, then open the .pbix file.
This project is for learning and portfolio purposes β a strong base for data analysis, reporting, and BI-style queries.
