Amit Khilare SQL Project
Amit Khilare SQL Project
Context
A lot of people in the world share a common desire: to own a vehicle. A car or an automobile
is seen as an object that gives the freedom of mobility. Many now prefer pre-owned vehicles because
they come at an affordable cost, but at the same time, they are also concerned about whether the
after-sales service provided by the resale vendors is as good as the care you may get from the actual
manufacturers. New-Wheels, a vehicle resale company, has launched an app with an end-to-end
service from listing the vehicle on the platform to shipping it to the customer's location. This app also
captures the overall after-sales feedback given by the customer.
Objective
New-Wheels sales have been dipping steadily in the past year, and due to the critical
customer feedback and ratings online, there has been a drop in new customers every quarter, which
is concerning to the business. The CEO of the company now wants a quarterly report with all the key
metrics sent to him so he can assess the health of the business and make the necessary decisions.
As a data analyst, you see that there is an array of questions that are being asked at the
leadership level that need to be answered using data. Import the dump file that contains various
tables that are present in the database. Use the data to answer the questions posed and create a
quarterly business report for the CEO.
Data Description
The data provided has
• Attributes on the vehicles New-Wheels sells - What are the make, model, and year? What is
the price point?
• Attributes on the customers, such as where they live and payment methods
• Attributes on orders and shipments, such as when the order was shipped and received, what
the after-sales feedback was, and so on.
The data dictionary (New Wheels - Data Dictionary) and the ER diagram (New Wheels - ER Diagram)
are provided.
Business Overview
20
40
60
80
100
120
0
Purchases
/19 00
03/01
Average Feedback % per Quarter
/19 00
02/01
Quarter
/19 00
01/01
/18 99
31/12
4 3 2 1 0
Average Feedback %
Trend of Customer Satisfaction
120
Satisfaction Rating
80
40
0
31/12
01/01
02/01
03/01
/18 99
/19 00
/19 00
/19 00
Quarter
Vehicle Maker
Toyota
Ford
olet
Chevr
100 80 60 40 20 0
Sales Count
Vehicle Maker
Acura 2.10%
Audi 1.40%
BMW 1.40%
Buick 2.80%
Cadillac 2.80%
Chevrolet 11.89%
Chrysler 1.40%
Dodge 8.39%
Ferrari 0.70%
Ford 6.99%
GMC 3.50%
Honda 1.40%
Hyundai 2.10%
Isuzu 2.10%
Jaguar 0.70%
Jeep 0.70%
Kia 1.40%
Lexus 1.40%
Lincoln 1.40%
Maserati 1.40%
Maybach 0.70%
Mazda 5.59%
Mercedes-Benz 4.20%
Mercury 1.40%
Mitsubishi 2.80%
Nissan 4.90%
Oldsmobile 0.70%
Pontiac 7.69%
Porsche 0.70%
Ram 0.70%
Saab 0.70%
Subaru 1.40%
Suzuki 1.40%
Toyota 6.29%
Volkswagen 2.80%
Volvo 2.10%
Total Result 100.00%
4 .5
4
3 .5
3
Purchases by Quarter
Quarter
2 .5
2
1 .5
1
0 .5
400 200 0
# of Purchases
QOQ% Change in Revenue
0
% Change in Revenue
0 .5
1 .5
2 .5
3 .5
4 .5
1
4
-5 -10 -15 -20 -25
Quarter
Orders
000
400
0
0
1
Quarter
0 .6 2
0 .6 1
Avg Discount %
0 .6
0 .5 9
0 .5 8
0 .5 7
0 .5 6
0 .5 5
lan che laser
arte-b
-clu b-c
din ers
Credit Card Type
/19 00
03/01
/19 00
02/01
Avg Days to Ship Orders
Quarter
/19 00
01/01
/18 99
31/12
200 0
Avg Days
Recommendations
• Declining Orders Per Quarter: Examine purchasing patterns, demographic shifts, and external factors
affecting sales.
• Top-Selling Items: Identify high-performing products and optimize inventory management.
• Least Popular Items: Determine whether to discontinue, rebrand, or offer discounts to improve sales.
• Shipping Delays: Investigate fulfillment issues, carrier performance, and warehouse efficiency.
• Improvement Strategies: Optimize logistics, offer expedited shipping, and enhance tracking
transparency.