Customer churn is one of the biggest challenges faced by subscription-based businesses. This project analyzes a telecom customer churn dataset using MySQL to identify customer segments with high churn, understand the factors influencing customer attrition, estimate revenue loss, and provide actionable business recommendations.
The project demonstrates SQL skills through exploratory data analysis, customer segmentation, and business insight generation.
- Analyze customer churn patterns
- Identify high-risk customer segments
- Measure churn across different customer categories
- Estimate revenue loss caused by churn
- Generate business recommendations for customer retention
- Dataset: Telecom Customer Churn Dataset
- Rows: 7,043
- Columns: 21
- Customer Demographics
- Contract Type
- Internet Service
- Payment Method
- Monthly Charges
- Total Charges
- Customer Tenure
- Churn Status
- MySQL
- MySQL Workbench
- SQL
- SELECT
- WHERE
- GROUP BY
- ORDER BY
- HAVING
- CASE WHEN
- Aggregate Functions
- COUNT()
- SUM()
- AVG()
- ROUND()
- Data Segmentation
- Business Analysis
Customer-Churn-Analysis-SQL
│
├── dataset/
│ customer_churn.csv
│
├── sql/
│ 01_database_setup.sql
│ 02_data_cleaning.sql
│ 03_exploratory_analysis.sql
│ 04_business_insights.sql
│
├── screenshots/
│
├── README.md
│
└── LICENSE
✔ Which contract type has the highest churn?
✔ Which payment method experiences the highest churn?
✔ Do senior citizens churn more frequently?
✔ Which internet service has the highest churn rate?
✔ Does Tech Support reduce customer churn?
✔ Which tenure group is most likely to churn?
✔ Do higher monthly charges increase churn?
✔ Which customer segment generates the highest revenue loss?
✔ Which payment method contributes the highest revenue loss?
✔ Which customer profile represents the highest churn risk?
- Month-to-Month contracts showed the highest churn rate.
- Customers using Electronic Check experienced the highest churn.
- Fiber Optic users had a significantly higher churn rate than other internet services.
- Customers without Tech Support churned considerably more.
- Higher Monthly Charges were associated with higher customer churn.
- Senior Citizens had a higher churn rate than non-senior customers.
- Electronic Check customers contributed the greatest revenue loss.
- Promote long-term contracts using loyalty discounts.
- Improve customer support for Fiber Optic users.
- Encourage customers to subscribe to Tech Support.
- Review pricing strategies for customers with high monthly charges.
- Investigate the causes of high churn among Electronic Check users.
- Design retention campaigns targeting high-risk customer segments.
- Build an interactive Power BI Dashboard.
- Develop churn prediction models using Machine Learning.
- Perform customer lifetime value (CLV) analysis.
- Create automated SQL reports using Stored Procedures.
Sarthak Rupnar
Aspiring Data Analyst | SQL | Python | Excel | Power BI (Learning)
GitHub: https://github.com/SarthakRupnar