Professional Documents
Culture Documents
Data and SQL For Business
Data and SQL For Business
Task 1:
Create groups for the population which count the male and female
members in each age groups.
Groups:
young: not older than 20
middle: older than 20 and not older than 40
old: older than 40 not older than 60
Task 2:
Calculate the average sales price for the top 10 sale orders with the highest
revenue.
(Use a simple, unweighted average.)
Task 3:
Sale orders were delivered to customers via different delivery methods. The
details of each delivery method can be found in the delivery table.
Calculate the total amount spent on each delivery method in 2015.
Order the result by total cost, largest to smallest.