SQL Assignment
SQL Assignment
Question 1: Identify the top 5 products with the highest sales revenue in the
year ‘2015’
Question 2: Determine and compare the average transaction value (ATV) for
each product category MoM (Jan/Feb) in the year ‘2017’
Question 3: Calculate the conversion rate for each user, considering only users
who have placed at least one order (use year = 2017)
Question 4: Rank users based on their total order count, with RANK SHARING
allowed.
PROBLEM STATEMENT:2
Question 1: Find the top 10 active customers (customers who have made the
most number of orders) in the month of November 2018
Question 4: Find out the customer RPR, repeat purchase rate. (percent of
customers who made more than 1 order).
PROBLEM STATEMENT :3
Question 1: Find the top 5 product names in descending order of prices in each
category (Sort by title for items with same price)
Question 3: Find the top seller names for all the ordered products (in terms of
order count)
Question 4: Find minimum, maximum and average rating for all ordered
products
Question 5: Identify sellers and their products which were never sold in the last
two months of 2019
PROBLEM STATEMENT:4
Question 1: Xmart is not having the expected growth this year. The Ad-tech
team is planning to analyse the marketing channel on the year which has the
highest number of customer signup.
Question 2: Xmart is planning to work on a marketing advertisement to
increase the company’s sales. Help Xmart to find the Age group that has largest
customer base to attract. (<18/18-24/25-44/45-55/55+)
Question 3: Xmart wants to send discount coupons to customer having the
highest order total amount. Help Xmart to find the customer details.