This project focuses on analyzing Netflix Movies and TV Shows dataset using PostgreSQL and SQL.
The goal of this project is to solve real-world business problems, perform data analysis, and extract meaningful insights from Netflix content data.
The project demonstrates practical implementation of SQL concepts including:
- Window Functions
- CTEs
- Aggregate Functions
- String Functions
- Date Functions
- CASE Statements
- Pattern Matching
- PostgreSQL-specific functions
- Analyze Movies vs TV Shows distribution
- Identify the most common ratings
- Explore country-wise content trends
- Analyze genres, actors, and directors
- Perform year-wise Netflix content analysis
- Categorize content based on keywords
- Practice advanced SQL querying techniques
The dataset contains:
- Show ID
- Type
- Title
- Director
- Cast
- Country
- Date Added
- Release Year
- Rating
- Duration
- Genres
- Description
Dataset Source: Netflix Titles Dataset
DROP TABLE IF EXISTS netflix;
CREATE TABLE netflix
(
show_id VARCHAR(10),
type VARCHAR(15),
title VARCHAR(200),
director VARCHAR(210),
casts VARCHAR(2000),
country VARCHAR(200),
date_added VARCHAR(50),
release_year INT,
rating VARCHAR(10),
duration VARCHAR(15),
listed_in VARCHAR(250),
description VARCHAR(300)
);- SELECT Statements
- WHERE Clause
- GROUP BY
- ORDER BY
- Aggregate Functions
- Window Functions
- CTEs
- CASE Statements
- Pattern Matching (
LIKE&ILIKE) - String Functions
- Date Functions
- Type Casting
- PostgreSQL Functions
RANK()
UNNEST()
STRING_TO_ARRAY()
SPLIT_PART()
TO_DATE()
EXTRACT()
CASE WHEN
ILIKE- Movies dominate Netflix content compared to TV Shows
- India is among the top contributors to Netflix content
- Drama and International Movies are highly common genres
- TV-MA is one of the most frequent ratings
- Netflix content significantly increased after 2015
- PostgreSQL
- SQL
- pgAdmin 4
- Kaggle Dataset
Netflix_SQL_Data_Analysis/
│
├── netflix_sql_project.sql
├── README.md
├── logo.png
└── dataset/
└── netflix_titles.csv- Create Power BI Dashboard
- Add Tableau Visualizations
- Optimize Queries
- Create SQL Views
- Add Stored Procedures
- Build Recommendation Analysis
Aspiring Data Analyst passionate about:
- SQL
- Power BI
- Python
- Data Analytics
- Machine Learning
This project helped strengthen:
- SQL Query Writing
- Business Problem Solving
- Data Cleaning & Transformation
- PostgreSQL Query Optimization
- Analytical Thinking
