You are on page 1of 17

BY ZAINAB KAREEM

Introduction
Danny loves Japanese food and decided to open up a Japanese restaurant with his three favourite foods
Sushi, Curry and Ramen.
He needs assistance to keep the diner afloat. The diner has captured some basic data but does not
know how to use them to run the business.
Problem Statement
Danny wants to use the data about his customers, especially about the visiting hours, how much they
have spent, and which food was their favourite. Having this deeper connection with his customers will
help him deliver a better and more personalised experience for his loyal customers. He plans on using
these insights to help him decide whether he should expand the existing customer loyalty program -
additionally, he needs help to generate some basic datasets so his team can easily inspect the data
without needing to use SQL.
Tables

Menu Table

Sales Table

Members Table
1. What is the total amount spent each customer spent at the restaurant?
.

Customer A spends the highest amount of


money which is $76 followed by Customer
B who spends $74 and Customer C who
spends $36
2. How many days has each customeer visited the restaurant?

Customer B visited the restaurant 6 times,


Customer A 4 times and Customer C 2 times.
Customer B is the customer who visited the
restaurant the most.
3. What was the first item from the menu purchased by each customer?

The first items purchased by Customer A are Curry


and Sushi, Curry for Customer B and Ramen for
Customer C
4. What is the most purchased item on the menu and how many times was it purchased by all
customers?

The most purchased item on the list is Ramen


which was purchased 8 times.
5. Which is the most popular item for each customer?

The most popular item for Customer A is Ramen


which was purchased 3 times. Sushi, Curry and
Ramen for Customer B which were all purchased 2
times each. The most popular item for Customer C
is Ramen which was purchased 3 times.
6. Which item was purchased by the customer after they became a member?

The item purchased by Customer A is Ramen and


Sushi for Customer B
Note: Customer C is not on the list because they are not a
member
7. What item was purchased just before they make membership?

The item purchased just before membership is


Sushi for both customers A and B.
8. What is the total item and amount spent for each member before they
became a member?

Before membership Customer B purchased three


items and spent $40 while Customer A
purchased two items and spent $25
9. If each $1 spent equates to 10 points and sushi has a 2x points multiplier - how many points
would each customer have?

For every dollar spent which equates to 10 points, Sushi is a 2x


multiplier. Customer A has 860 points, Customer B has 940 points
and Customer C has 360 points. Customer B has the highest points
which takes us back to case study 5. Where the most popular item
for Customer B was Sushi.
10. In the first week after a customer joins the program, they earn 2x points not just for Sushi.
How many points do customers A and B have at the end of January?

The first week after Customer A and B becomes a member at Danny’s diner
Customer A has 1370 points and Customer B has 820 points after the end
Insights
1. Ramen is the most purchased food. It was purchased 8 times.
2. Customer C is not a member of Danny’s diner restaurant.
3. The first item purchased by customer A and B before becoming a member is Sushi. This could be a
determining factor in what made both customer sign up for membership.
4. Customer B visited Danny’s diner restaurant the most with 6 visits.
5. Customer A spent the highest total amount of money at Danny’s diner with $76.
6. Customer B spent $40 before becoming a member. While, Customer A spent $25 before becoming a
member.
Thank
You

You might also like