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 System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education