Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 1 : SQL queries - zomato launched in Gurgaon on 1 st of May and your line manager has asked you to share key

Q1 : SQL queries -
zomato launched in Gurgaon on 1st of May and your line manager has asked you to share key performance metrics to gauge the performance of the verticals. All the data of orders is being stored in the below table kindly use this table to write queries to find the insights.
This Orders table contains records of all orders placed on zomato.
a) Top 3 outlets by cuisine type without using limit and top function
b) Find the daily new customer count from the launch date (everyday how many new customers are we acquiring)
c) Count of all the users who were acquired in May and only placed one order in May and did not place any other order.
d) All the customers with no order in the last 7 days but were acquired one month ago with their first order on promo.
e) Growth team is planning to create a trigger that will target customers after their every third order with a personalized communication and they have asked you to create a query for this.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions