A portfolio project that explores the Netflix Movies and TV Shows dataset using PostgreSQL to answer real-world business questions.
This project analyzes the Netflix dataset using SQL to extract meaningful business insights. It covers data exploration, filtering, aggregation, string manipulation, window functions, regular expressions, and common business-oriented queries.
The project was developed using PostgreSQL and DataGrip.
- PostgreSQL
- SQL
- DataGrip
- Git
- GitHub
Netflix-SQL-Analysis/
│
├── dataset/
│ └── netflix_titles.csv
│
├── sql/
│ └── netflix_analysis.sql
│
├── images/
│ ├── longest-movie.png
│ ├── actors-in-movies.png
│ ├── content-added.png
│ └── ...
│
└── README.md
- Data Exploration
- Data Filtering
- Aggregate Functions
- GROUP BY &
- CASE Statements
- Common Table Expressions (CTEs) & Subqueries
- Window Functions
- String Functions
- Date Functions
- Regular Expressions
- Business Data Analysis
- Count the number of Movies and TV Shows.
- Find the most common rating for Movies and TV Shows.
- List all Movies released in 2008.
- Find the top 5 countries with the most content.
- Identify the longest movie.
- Find content added in the last 5 years.
- Find Movies directed by specific directors.
- Find TV Shows with more than 5 seasons.
- Count the number of content items in each genre.
- Find the top 10 actors appearing in Movies.
- Identify content without a director.
- Categorize content based on keywords in the description.
Sample outputs of the SQL queries are available in the images/ folder.
- Clone this repository.
- Create a PostgreSQL database.
- Import the
netflix_titles.csvdataset into PostgreSQL using DataGrip. - Execute the queries in
sql/netflix_analysis.sql. - Review the query results.
Through this project, I practiced:
- Writing efficient SQL queries.
- Solving business-oriented analytical problems.
- Using PostgreSQL advanced SQL features.
- Organizing a SQL portfolio project with GitHub.
Netflix Movies and TV Shows Dataset from Kaggle.
Ayman ECH-TAIBABI
GitHub: https://github.com/ech-ayman
