Skip to content

PrathaJain02/customer-financial-analysis-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Customer Financial Analysis & Forecasting (SQL Project)

🎯 Project Objective

This project analyzes customer financial profiles and transaction data using SQL to uncover demographic patterns, financial behavior, revenue trends, and customer value.
The analysis is further extended with forecasting in Excel to estimate future revenue trends.


πŸ›  Tools Used

  • MySQL (Data Cleaning & Analysis)
  • SQL (Aggregations, Window Functions, CTEs)
  • Excel (Forecasting Analysis)
  • Data Visualization

πŸ“‚ Project Workflow

  1. Database creation and data loading
  2. Data cleaning and validation
  3. Table restructuring into customers and transactions tables
  4. Demographic analysis
  5. Financial profile analysis
  6. Transaction & revenue analysis
  7. Customer Lifetime Value (CLV) analysis
  8. Forecasting using historical revenue data

πŸ”Ž Key Analysis Performed

πŸ‘₯ Demographic Insights

  • Age group distribution of customers
  • Gender-based customer segmentation
  • State-wise customer distribution

πŸ’° Financial Profile Analysis

  • Average income by age group
  • Credit score segmentation (Poor β†’ Excellent)
  • Debt-to-income ratio analysis

πŸ’³ Transaction Analysis

  • Monthly revenue trend
  • Revenue by state and city
  • Average transaction value

⭐ Customer Value Analysis

  • Customer Lifetime Value (CLV) calculation
  • High-value customer identification
  • State-wise spending behavior
  • Top spending state per customer using window functions

πŸ“ˆ Forecasting Analysis

Using historical transaction revenue data, forecasting was performed in Excel to estimate future revenue trends along with confidence bounds.

Forecast Output Preview

Forecast Preview


πŸ’Ό Business Impact

This analysis helps financial institutions and businesses:

  • Understand customer demographics and financial behavior
  • Identify high-value customers for targeted strategies
  • Monitor revenue patterns across regions
  • Support data-driven financial planning using forecasting insights

πŸš€ Key SQL Concepts Demonstrated

  • Data cleaning and restructuring
  • Aggregate functions
  • CASE statements for segmentation
  • Window functions (RANK)
  • Subqueries
  • Table creation and transformation

About

SQL-based customer analytics project covering CLV, segmentation and forecasting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors