This project analyzes e-commerce sales data using SQL to uncover valuable business insights related to product performance, revenue generation, customer reviews, sales trends, and category-wise analysis.
The dataset contains 1000 product records with monthly sales data, pricing information, product categories, review scores, and review counts.
- Analyze product sales performance.
- Calculate product and category revenue.
- Identify top-performing products.
- Track monthly sales trends.
- Evaluate the relationship between customer reviews and sales.
- Measure product growth over time.
- Generate business insights using SQL queries.
- SQL (MySQL)
- Data Analysis
- Microsoft PowerPoint
- GitHub
The dataset includes:
- Product ID
- Product Name
- Category
- Price
- Review Score
- Review Count
- Monthly Sales (January–December)
Calculated total units sold for each product across all 12 months.
Computed total revenue generated by each product.
Analyzed revenue contribution from different product categories.
Compared categories based on:
- Total Units Sold
- Total Revenue
Analyzed monthly sales performance throughout the year.
Monthly Sales Summary
| Month | Sales |
|---|---|
| Jan | 498,306 |
| Feb | 507,661 |
| Mar | 506,739 |
| Apr | 503,823 |
| May | 487,194 |
| Jun | 491,653 |
| Jul | 507,011 |
| Aug | 504,569 |
| Sep | 491,934 |
| Oct | 514,798 |
| Nov | 505,838 |
| Dec | 500,386 |
Identified products generating the highest revenue.
Found highly rated products with at least 50 reviews.
Compared Month 1 and Month 12 sales to measure growth.
Calculated average product prices for each category.
Studied the relationship between customer reviews and sales performance.
Ranked products based on review scores and review counts.
Calculated popularity using:
Popularity Score = Review Score × Review Count
Identified products that generated zero sales.
Found products whose sales increased from Month 1 to Month 12.
Found products whose sales decreased over the year.
- Books and Sports categories generated strong revenue.
- October recorded the highest overall sales.
- Products with higher review scores generally achieved better sales performance.
- Several products demonstrated significant sales growth throughout the year.
- Customer reviews positively influenced purchasing decisions.
- Analyzed 1000+ product records using SQL.
- Developed 15+ SQL queries to solve business problems.
- Identified top-selling and low-performing products.
- Generated revenue and category performance reports.
- Analyzed sales trends and customer review impact.
- Provided data-driven insights to support business decision-making.
ecommerce-sales-analysis-sql/
│
├── ecommerce_sales_analysis project.sql
├── Ecommerce Sales Analysis using SQL.pptx
├── README.md
└── dataset.csv
- Import the dataset into MySQL.
- Open the SQL script.
- Execute the queries.
- Analyze the generated results and business insights.
Alekhya Komara
This project is created for learning, portfolio, and educational purposes.