This project analyzes a food delivery dataset to extract valuable customer insights using SQL.
By answering key business questions, the project helps understand customer behavior, spending patterns, and loyalty program effectiveness.
- Total Spending Per Customer β How much has each customer spent on Zomato?
- Visit Frequency β How many days has each customer placed orders on Zomato?
- First Purchased Item β What was the first product purchased by each customer?
- Most Popular Item β What is the most purchased item and how many times was it ordered?
- First Item After Membership β Which item was purchased first after a customer became a Zomato Gold member?
- Last Item Before Membership β Which item was purchased just before the customer became a member?
- Spending Before Membership β Total orders and amount spent before joining Zomato Gold.
- Different products have different Zomato point conversion rates.
- Example:
- P1 β (5βΉ = 1 Point)
- P2 β (10βΉ = 5 Points)
- P3 β (5βΉ = 1 Point)
- Calculate the points each customer has collected and for which products.
- In the first year of Zomato Gold membership, customers earn 5 points for every 10βΉ spent.
- Who earned more points: Customer 1 or Customer 3?
- Total points earned in the first year.
- Rank all transactions of each customer.
- Gold Membership Transaction Ranking β Rank all transactions for Zomato Gold members and mark non-Gold transactions as
"NA".
- SQL β Querying and data analysis.
- GitHub β Version control and project sharing.
βοΈ Designed SQL queries to solve each business question efficiently.
βοΈ Used window functions, ranking functions, and joins to extract meaningful insights.
βοΈ Applied conditional logic for loyalty point calculations.
βοΈ Ensured data consistency and integrity.
- Clone the repository:
git clone https://github.com/yashvardhan0607/Zomato-Data-Analysis-Project.git