0% found this document useful (0 votes)
32 views3 pages

Assignment - Analytics Intern - Airlearn

The assignment requires the analysis of sales data from an e-commerce store, focusing on data cleaning, revenue analysis, customer insights, delivery performance, and dashboard creation. Additionally, it includes a SQL component where candidates must write queries to extract specific insights from a sales_data table. Submissions must include a Google Sheets file and a document detailing SQL queries and explanations of the approach taken.

Uploaded by

Sagar veerala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views3 pages

Assignment - Analytics Intern - Airlearn

The assignment requires the analysis of sales data from an e-commerce store, focusing on data cleaning, revenue analysis, customer insights, delivery performance, and dashboard creation. Additionally, it includes a SQL component where candidates must write queries to extract specific insights from a sales_data table. Submissions must include a Google Sheets file and a document detailing SQL queries and explanations of the approach taken.

Uploaded by

Sagar veerala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Instructions: Please submit the assignment at [email protected].

Kindly ensure you


submit it within the deadline.

Objective:​
Analyze sales data, create meaningful insights, and build an interactive dashboard.

Scenario:

You are given the following dataset containing sales transactions for an e-commerce store -
Assignment - Data Analyst - Airlearn

1.​ Date – Date of transaction


2.​ Order ID – Unique identifier for each order
3.​ Customer Name – Name of the customer
4.​ Product Category – Category of the purchased product
5.​ Product Name – Name of the product
6.​ Quantity Sold – Number of units sold
7.​ Unit Price – Price per unit
8.​ Total Revenue – (Quantity Sold * Unit Price)
9.​ Payment Method – (Cash, Credit Card, PayPal)
10.​Delivery Status – (Pending, Delivered, Cancelled)

Tasks:

1. Data Cleaning & Validation:

●​ Ensure all numeric fields (Quantity Sold, Unit Price, Total Revenue) contain valid
numbers.
●​ Remove duplicate entries.
●​ Apply data validation with dropdown lists for "Product Category" and "Payment Method"
to prevent typos.

2. Revenue Analysis:

●​ Calculate the total revenue for each product category using SUMIF/SUMIFS.
●​ Identify the top 5 best-selling products in terms of total revenue.
●​ Determine which payment method generates the highest revenue.

3. Customer Insights:

●​ Identify the top 3 customers who have spent the most.


●​ Count the number of unique customers who have made purchases.
●​ Find out if any customers have made multiple purchases on the same day (Use
COUNTIFS).
4. Delivery Performance:

●​ Calculate the percentage of orders that are pending, delivered, and cancelled.
●​ Use conditional formatting to highlight:
○​ Pending orders in Yellow
○​ Cancelled orders in Red
○​ Delivered orders in Green

5. Dashboard Creation:

●​ Create a summary dashboard on a separate sheet that includes:


○​ Total Revenue
○​ Top 3 Best-Selling Products
○​ A Pie Chart showing the proportion of payment methods used
○​ A Bar Chart showing sales per product category

6. Bonus Task (Automation - Optional):

●​ Write a Google Apps Script to highlight orders that are more than 30 days old and
still marked as "Pending."

Part 2: SQL Assignment


You are given a database table named sales_data with the following structure:

Column Name Data Type Description

order_id VARCHAR(10) Unique identifier for each order

order_date DATE Date when the order was placed

customer_name VARCHAR(255) Name of the customer

product_category VARCHAR(255) Category of the purchased product

product_name VARCHAR(255) Name of the product

quantity_sold INT Number of units sold

unit_price DECIMAL(10,2) Price per unit

total_revenue DECIMAL(12,2) Total revenue (Quantity Sold * Unit Price)


payment_method VARCHAR(50) (Cash, Credit Card, PayPal)

delivery_status VARCHAR(20) (Pending, Delivered, Cancelled)

SQL Task:

Write SQL queries to answer the following questions:

1.​ Total Revenue per Product Category​

2.​ Find the Top 5 Best-Selling Products by Revenue​

3.​ Count the Number of Orders for Each Payment Method​

4.​ Identify Customers Who Made Multiple Purchases on the Same Day​

5.​ Find the Most Frequent Customer Who Has Placed the Highest Number of Orders

Submission Format:

●​ The candidate must share the Google Sheets file with editing access.
●​ The candidate must submit a document with:
○​ Their SQL queries
○​ A brief explanation of how they approached each question.

You might also like