Skip to content

Manuel12251990/Telecom-Churn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Telecom Churn SQL Analysis

This project showcases advanced SQL techniques to explore customer churn patterns in the telecom industry. The dataset was originally in CSV format and imported into SQL Server for this analysis. https://public.tableau.com/app/profile/manuel.lizardo/viz/CustomerChurnAnalysis_17430403816220/CustomerChurnDashboard

πŸ“Œ Objective

To query and analyze churn data by segmenting customers, ranking them by revenue contribution, and preparing the data for future modeling.


πŸ› οΈ Tools & Environment

  • Microsoft SQL Server Management Studio (SSMS)
  • Dataset format: CSV (converted to SQL table)

βš™οΈ SQL Techniques Demonstrated

  • Common Table Expressions (CTEs)
  • CASE statements for conditional segmentation
  • RANK() window function for customer charge ranking
  • Joining CTEs for enriched feature engineering
  • Order-based insights to support churn mitigation strategies

🧠 Query Breakdown

  • Step 1: Use a CTE to create tenure-based customer segments (New, Mid-Term, Loyal)
  • Step 2: Rank customers by TotalCharges to identify high-revenue users
  • Step 3: Join CTEs to get a comprehensive churn report with enriched fields

πŸ“„ Output Preview

customerID TenureGroup MonthlyCharges TotalCharges ChargeRank Churn
7590-VHVEG New 29.85 29.85 1123 No
5575-GNVDE Mid-Term 56.95 1889.50 223 No
... ... ... ... ... ...

πŸ“‚ File


πŸ“Ž Next Steps

  • Build a churn prediction model using SQL or Python
  • Feed this query into Tableau or Power BI for visual analysis
  • Run A/B tests on the "New" customer segment to improve retention

πŸ“¬ Contact

Feel free to fork this project or connect with me on LinkedIn for collaboration or feedback!

About

SQL Project showcasing customer segmentation and churn risk analysis for telecom data using CTEs, window functions, and ranking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors