Skip to content

MuhammadBinNasir0123/SQL-Product-Sales-Analysis

Repository files navigation

SQL Product Sales Analysis

This project demonstrates how SQL can be used to analyze product sales performance across multiple dimensions.
Each SQL file represents a distinct business query, enabling modular, question-driven analysis.


Key Analysis Performed

  • Monthly Sales Performance → Track revenue trends over time
  • Revenue by Customer Type → Compare retail vs wholesale contributions
  • Revenue by Product Type & Sales → Identify top-performing product categories
  • Revenue by Region → Understand geographical sales distribution
  • Total Product Sales → Overall sales by product
  • Total Revenue → Consolidated revenue snapshot

Tech Stack

  • SQL (MySQL Workbench) → Querying, aggregation, joins, grouping
  • Excel (.csv/.xlsx) → Input dataset for analysis
  • Relational Databases → Business intelligence & reporting

Outcome

  • Delivered granular insights across product, region, and customer segments
  • Built a reusable SQL query library for business reporting
  • Provided a foundation for data-driven sales strategies

Project Structure

├── LICENSE                               # License file  
├── Monthly Sales Performance.sql         # Query for monthly sales trends  
├── Product-Sales-Region.csv.xlsx         # Input dataset  
├── README.md                             # Project documentation  
├── Revenue By Customer Type.sql          # Query for customer type revenue split  
├── Revenue By Product Type and Sales.sql # Query for product type analysis  
├── Revenue By Region.sql                 # Query for regional revenue breakdown  
├── Sales Data.sql                        # Base dataset import / cleaning  
├── Total Product Sales.sql               # Query for total sales by product  
├── Total Revenue.sql                     # Query for consolidated revenue  

About

SQL project analyzing sales data for revenue trends, top customers, and regional performance. Uses SELECT, JOIN, and aggregation to turn raw data into actionable business insights.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors