Please help with only Question 3 Question 3: Show the total sales (overall) by year rolled up by the Territory group and country. A special request from management is that the United Kingdom is no longer part of the European Union (EU), and they would like to see the UK's totals as a separate Territory group. You cannot modify the data, so you will need to address this request in your query.   Note: Please explain and answer correctly for thumbs up

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Question

Please help with only Question 3

Question 3: Show the total sales (overall) by year rolled up by the Territory group and country. A special request from management is that the United Kingdom is no longer part of the European Union (EU), and they would like to see the UK's totals as a separate Territory group. You cannot modify the data, so you will need to address this request in your query.

 

Note: Please explain and answer correctly for thumbs up

1. Provide a detailed list of Internet sales with the following columns for the financial analyst team to review:
Category, Model, CustomerKey, Region, IncomeGroup, CalendarYear, Fiscal Year, Month, OrderNumber, Quantity, and Amount.
The Income group column should categorize the people based on "Low" being less than 40,000, "High" being greater than 60,000, and the rest will be
"Moderate".
Category Model
Accessories All-Purpose Bike Stand
Accessories All-Purpose Bike Stand
Accessories All-Purpose Bike Stand
Accessories All-Purpose Bike Stand
Accessories All-Purpose Bike Stand
CustomerKey Region
22430
20036
11015
23104
27688
Europe
North America
North America
Pacific
Pacific
IncomeGroup
Moderate
High
Low
Moderate
High
CalendarYear
2007
2007
2007
2007
2007
Fiscal Year Month
2008
2008
2008
2008
2008
7
7
7
7
8
159.00
Order Number Quantity Amount
SO51179 1
SO51488 1
SO51520 1
SO51558
SO51882
159.00
159.00
159.00
1
1
159.00
2. Provide a similar analysis for Reseller sales with the following columns (Category, Model, CalendarYear, Fiscal Year, Month, Order Number, Quantity,
Amount).
Category Model
Accessories Sport-100
2006
7
CalendarYear Fiscal Year Month OrderNumber
2005
SO43659
Accessories Sport-100 2005
Accessories
Sport-100 2005
2006
7
SO43661
2006
7
SO43661
Quantity Amount
80.746
40.373
100.9325
4
2
5
3. Show the total sales (overall) by year rolled up by the Territory group and country. A special request from management is that the United Kingdom is no
longer part of the European Union (EU) and they would like to see the UK's totals as a separate Territory group. You cannot modify the data, so you will need
to address this request in your query.
Transcribed Image Text:1. Provide a detailed list of Internet sales with the following columns for the financial analyst team to review: Category, Model, CustomerKey, Region, IncomeGroup, CalendarYear, Fiscal Year, Month, OrderNumber, Quantity, and Amount. The Income group column should categorize the people based on "Low" being less than 40,000, "High" being greater than 60,000, and the rest will be "Moderate". Category Model Accessories All-Purpose Bike Stand Accessories All-Purpose Bike Stand Accessories All-Purpose Bike Stand Accessories All-Purpose Bike Stand Accessories All-Purpose Bike Stand CustomerKey Region 22430 20036 11015 23104 27688 Europe North America North America Pacific Pacific IncomeGroup Moderate High Low Moderate High CalendarYear 2007 2007 2007 2007 2007 Fiscal Year Month 2008 2008 2008 2008 2008 7 7 7 7 8 159.00 Order Number Quantity Amount SO51179 1 SO51488 1 SO51520 1 SO51558 SO51882 159.00 159.00 159.00 1 1 159.00 2. Provide a similar analysis for Reseller sales with the following columns (Category, Model, CalendarYear, Fiscal Year, Month, Order Number, Quantity, Amount). Category Model Accessories Sport-100 2006 7 CalendarYear Fiscal Year Month OrderNumber 2005 SO43659 Accessories Sport-100 2005 Accessories Sport-100 2005 2006 7 SO43661 2006 7 SO43661 Quantity Amount 80.746 40.373 100.9325 4 2 5 3. Show the total sales (overall) by year rolled up by the Territory group and country. A special request from management is that the United Kingdom is no longer part of the European Union (EU) and they would like to see the UK's totals as a separate Territory group. You cannot modify the data, so you will need to address this request in your query.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning