Simon Dusek

Project Goal

Analyze e-commerce transaction data with SQL to identify trends in revenue, customer behavior, and product performance.

Tools

Business Questions

  1. Which product categories generate the highest revenue?
  2. What is the monthly sales trend over time?
  3. Who are the top customers by total spend?
  4. What is the average order value by month?

Example SQL Query

SELECT
  DATE_TRUNC('month', order_date) AS order_month,
  ROUND(SUM(total_amount), 2) AS monthly_revenue,
  ROUND(AVG(total_amount), 2) AS avg_order_value,
  COUNT(DISTINCT order_id) AS total_orders
FROM orders
GROUP BY 1
ORDER BY 1;

Key Insights

Next Steps