0% found this document useful (0 votes)
9 views2 pages

Assignment SQL Project - Interview Problems - v1

Uploaded by

1381sanjaysharma
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)
9 views2 pages

Assignment SQL Project - Interview Problems - v1

Uploaded by

1381sanjaysharma
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/ 2

Data Analysis for an e-commerce company:

1. List the top 5 products by sales amount.

2. Calculate the average profit margin per category.

3. Find the number of orders placed per segment for the year 2012.

4. Identify the top 3 states with the highest shipping costs.

5. Calculate the total sales and profit for each market in the year 2012.

6. Determine the percentage of orders that had a discount applied.

7. Find the average shipping cost per order priority.

8. List the products with a profit margin greater than 20%.

9. Calculate the total quantity sold for each sub-category.

10. Calculate the total sales and profit for each year, using a CTE.

11. List the products with a profit margin greater than 20%, using a CTE.
Data Analysis for a techforallwithpriya company:

-- Display the premium users of techforallwithpriya


-- use the concept of cte
-- condition -> total_orders > avg_orders
-- akash mishra, akhil george, nagasai sreedhar [as per my database shown in live
session day-7]

You might also like