This project analyzes sales, customer behavior, product performance, and city-level business metrics for Monday Coffee using SQL.
The goal is to generate actionable insights that can help the company improve revenue, customer retention, and location strategy.
The dataset contains four tables:
- city – city-level data including population and rent
- customers – customer information
- products – product catalog
- sales – transaction-level data
- Cities: 14
- Customers: 497
- Products: 28
- Sales transactions: 10,388
- Sales period: Jan 2023 – Oct 2024
- Total revenue generated
- Monthly revenue trends
- Average order value
- Top products by revenue
- Most frequently sold products
- Highest-rated products
- Top customers by spending
- Average purchases per customer
- Repeat customer percentage
- Revenue by city
- Revenue per customer by city
- Revenue per capita
- Revenue-to-rent ratio
- Top product per city
- Month-over-month growth rate
- Total revenue exceeded ₹60 lakh across 10,000+ transactions.
- Repeat customer rate reached 100%, indicating strong customer loyalty.
- Cold Brew Coffee Pack was the top-selling product across most cities.
- Pune and Jaipur showed the highest revenue efficiency per capita and per rent.
- Revenue fluctuated month-to-month, suggesting seasonal or campaign-driven demand.
- A small group of customers contributes a significant portion of total revenue.
- Core coffee products dominate both revenue and sales volume.
- High-rent metro cities generate strong revenue but lower efficiency.
- Mid-sized cities like Pune and Jaipur show higher profitability potential.
- Focus marketing and expansion efforts in high-efficiency cities like Pune and Jaipur.
- Promote the Cold Brew Coffee Pack as a flagship product.
- Introduce bundles and subscriptions to increase average order value.
- Investigate causes of revenue drops in certain months and replicate successful campaigns.
- Joins
- Aggregations
- GROUP BY and HAVING
- Subqueries
- Common Table Expressions (CTEs)
- Window functions
- PostgreSQL
- SQL
monday-coffee-sql-analysis │ ├── data │ ├── city.csv │ ├── customers.csv │ ├── products.csv │ └── sales.csv │ ├── schemas.sql ├── model_diagram.png ├── monday_coffee_business_analysis.sql └── README.md