SALES & BUSINESS ANALYSIS

A SQL Analysis of Four-Year Sales Data

Used SQL to answer 14 business questions about sales, revenue, profit, discounts, product categories and stock availability.

MySQLSQLWindow FunctionsCTEs

Project overview

Analysed a four-year sales dataset with MySQL to answer 14 business questions. The work covered revenue and profit trends, channel and regional performance, discount comparisons, product rankings, quarterly patterns, stock availability and profit margins.

Business questions explored

  1. Top 10 products by revenue in each zone
  2. Highest-revenue sales channel in each state
  3. Sales by year
  4. Profit by year
  5. Profit margin by year
  6. Top-selling products by zone and year
  7. Sales with discounts versus no discounts
  8. Profit with discounts versus no discounts
  9. Revenue by product category
  10. Order quantity by product category and zone
  11. Top product category by quarter and year
  12. Products never out of stock
  13. Products sometimes out of stock
  14. Profit margins by category

Selected findings from the analysis