how could i do the following to display in this table  1. Sales Volumes Analysis by fiscal quarter a. By Store b. By Product c. By Product Group (Age Group) 2. Sales Revenue Analysis by fiscal quarter a. By Store, b. By Product c. By Product Group (Age Group)

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

how could i do the following to display in this table

 1. Sales Volumes Analysis by fiscal quarter
a. By Store
b. By Product
c. By Product Group (Age Group)


2. Sales Revenue Analysis by fiscal quarter
a. By Store,
b. By Product
c. By Product Group (Age Group) 

F PRODUCTID
F MCAMPID
F PAYMETHODID
* DATEID
F
STOREID
F EMPLOYEEID
F CUSTOMERID
F DEMOGRGRID
P SURROGATEID
* PURCHASETRANSACTIONID
* AGEGROUPNAME
* QUANTITY
AMOUNT
TAXES
DISCOUNTAMOUNT
COST_
PROFIT
EMPLOYEEFIRSTNAME
EMPLOYEEGENDER
* CUSTOMERFIRSTNAME
* CUSTOMERGENDER
SALES PK (SURROGATEID)
FK_CUSTOMER (CUSTOMERID)
FK_DATE (DATEID)
FK_DEMOGRGR (DEMOGRGRID)
FK_EMPLOYEE (EMPLOYEEID)
FK_MCAMP (MCAMPID)
FK_PAYMETHOD (PAYMETHODID)
FK_PRODUCT (PRODUCTID)
FK_STORE (STOREID)
P DEMOGROM
DEMOGRAFIC_GROUPS
NUMBER (,0)
* AGEGROUPNAME
VARCHAR2 (30 BYTE)
AGEBEGIN
NUMBER (,0)
* AGEEND
NUMBER (,0)
DEMOGRAFIC_GROUPS_PK (DEMOGRGRID)
LIFE_EXPECTANCY
P LIFEEXPECTANCYID NUMBER (,0)
* CITY
VARCHAR2 (30 BYTE)
* GENDER
VARCHAR2 (30 BYTE)
LIFEEXPECTANCY
NUMBER (*.0)
YEAROF BIRTH
NUMBER (0)
LIFE_EXPECTANCY_PK (LIFEEXPECTANCYID)
.NAMES
NUMBER (0)
NAMEID
NAME
VARCHAR2 (30 BYTE)
* GENDER
VARCHAR2 (30 BYTE)
NUMBER (*.0)
NUMBER (*.0)
SALES
NUMBER (",0)
NUMBER (,0)
NUMBER (,0)
NUMBER (,0)
NUMBER (,0)
NUMBER (,0)
NUMBER (,0)
NUMBER (0)
NUMBER (,0)
NUMBER (0)
VARCHAR2 (30 BYTE)
NUMBER (,0)
NUMBER (6,2)
NUMBER (6,2)
NUMBER (6,2)
NUMBER (6,2)
NUMBER (6,2)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
P
NAMERANK
YEAR
NAMES_PK (NAMEID)
PAYMENT METHODS
* PAYMETHODID
PAYMETHOD
PAYMETHODAMOUNT
PAYMENT_METHODS_PK (PAYMETHODID)
DBS501_221SA18.CUSTOMERS
P CUSTOMERID
NUMBER (,0)
VARCHAR2 (30 BYTE)
NUMBER (6,2)
NUMBER (,0)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
CHAR (10 BYTE)
CUSTOMERFIRSTNAME
CUSTOMERLASTNAME
CUSTOMERGENDER
CUSTOMERDOB
CUSTOMERS_PK (CUSTOMERID)
DBS501_221SA18.EMPLOYEE
P EMPLOYEEID
EMPLOYEEFIRSTNAME
EMPLOYEELASTNAME
* EMPLOYEETITLE
* EMPLOYEEGENDER
EMPLOYEE_PK (EMPLOYEEID)
A18.PRODUCTS
P PRODUCTID
PRODUCTNAME
SKU
NUMBER (,0)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (100 BYTE)
NUMBER (6,2)
PRODUCTCOLOR
*PRODUCTDESCR
PRODUCTCOST
PRODUCTPRICE
DEMOGRGRID
NUMBER (6,2)
NUMBER (0)
PRODUCTS_PK (PRODUCTID)
SYS_C002030682 (DEMOGRGRID)
CITY POPULATION
NUMBER (,0)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
P CITYPOPULATIONID
* CITY
* PROVINCE
POPULATION
YEAR
NUMBER (,0)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
NUMBER (,0)
NUMBER (,0)
CITY POPULATION_PK (CITYPOPULATIONID)
PID_
DATE
NUMBER (,0)
CHAR (10 BYTE)
NUMBER (,0)
NUMBER (,0)
NUMBER (,0)
NUMBER (0)
NUMBER (,0)
NUMBER (0)
DATEID
DATE_
DAY
DAYOFWEEK
WEEKNUMBER
MONTH_
* QUATER
* YEAR_
DATE_PK (DATEID)
DEFINITION_
NUMBER (*.0)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (100 BYTE)
VARCHAR2 (100 BYTE)
* TABLENAME
* COLUMNNAME
DESCRIPTION_
COMMENTS
DEFINITION_PK (ID_)
MARKETING CAMPAIGN
NUMBER (*.0)
VARCHAR2 (30 BYTE)
* MCAMPNAME
*MCAMPDESCR
VARCHAR2 (100 BYTE)
DISCOUNTAMOUNT NUMBER (6,2)
*MCAMPSTARTDATE CHAR (10 BYTE)
* MCAMPENDDATE
CHAR (10 BYTE)
MARKETING_CAMPAIGN_PK (MCAMPID)
P MCAMPID
* STOREID
* STORENAME
* STORECITY
* STOREPROVINCE
* STOREPOSTALCODE
STORES_PK (STOREID)
STORES
NUMBER (,0)
VARCHAR2 (30 BYTE)
VARCHAR2 (30 BYTE)
VARCHAR2 (50 BYTE)
VARCHAR2 (7 BYTE)
Transcribed Image Text:F PRODUCTID F MCAMPID F PAYMETHODID * DATEID F STOREID F EMPLOYEEID F CUSTOMERID F DEMOGRGRID P SURROGATEID * PURCHASETRANSACTIONID * AGEGROUPNAME * QUANTITY AMOUNT TAXES DISCOUNTAMOUNT COST_ PROFIT EMPLOYEEFIRSTNAME EMPLOYEEGENDER * CUSTOMERFIRSTNAME * CUSTOMERGENDER SALES PK (SURROGATEID) FK_CUSTOMER (CUSTOMERID) FK_DATE (DATEID) FK_DEMOGRGR (DEMOGRGRID) FK_EMPLOYEE (EMPLOYEEID) FK_MCAMP (MCAMPID) FK_PAYMETHOD (PAYMETHODID) FK_PRODUCT (PRODUCTID) FK_STORE (STOREID) P DEMOGROM DEMOGRAFIC_GROUPS NUMBER (,0) * AGEGROUPNAME VARCHAR2 (30 BYTE) AGEBEGIN NUMBER (,0) * AGEEND NUMBER (,0) DEMOGRAFIC_GROUPS_PK (DEMOGRGRID) LIFE_EXPECTANCY P LIFEEXPECTANCYID NUMBER (,0) * CITY VARCHAR2 (30 BYTE) * GENDER VARCHAR2 (30 BYTE) LIFEEXPECTANCY NUMBER (*.0) YEAROF BIRTH NUMBER (0) LIFE_EXPECTANCY_PK (LIFEEXPECTANCYID) .NAMES NUMBER (0) NAMEID NAME VARCHAR2 (30 BYTE) * GENDER VARCHAR2 (30 BYTE) NUMBER (*.0) NUMBER (*.0) SALES NUMBER (",0) NUMBER (,0) NUMBER (,0) NUMBER (,0) NUMBER (,0) NUMBER (,0) NUMBER (,0) NUMBER (0) NUMBER (,0) NUMBER (0) VARCHAR2 (30 BYTE) NUMBER (,0) NUMBER (6,2) NUMBER (6,2) NUMBER (6,2) NUMBER (6,2) NUMBER (6,2) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) P NAMERANK YEAR NAMES_PK (NAMEID) PAYMENT METHODS * PAYMETHODID PAYMETHOD PAYMETHODAMOUNT PAYMENT_METHODS_PK (PAYMETHODID) DBS501_221SA18.CUSTOMERS P CUSTOMERID NUMBER (,0) VARCHAR2 (30 BYTE) NUMBER (6,2) NUMBER (,0) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) CHAR (10 BYTE) CUSTOMERFIRSTNAME CUSTOMERLASTNAME CUSTOMERGENDER CUSTOMERDOB CUSTOMERS_PK (CUSTOMERID) DBS501_221SA18.EMPLOYEE P EMPLOYEEID EMPLOYEEFIRSTNAME EMPLOYEELASTNAME * EMPLOYEETITLE * EMPLOYEEGENDER EMPLOYEE_PK (EMPLOYEEID) A18.PRODUCTS P PRODUCTID PRODUCTNAME SKU NUMBER (,0) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (100 BYTE) NUMBER (6,2) PRODUCTCOLOR *PRODUCTDESCR PRODUCTCOST PRODUCTPRICE DEMOGRGRID NUMBER (6,2) NUMBER (0) PRODUCTS_PK (PRODUCTID) SYS_C002030682 (DEMOGRGRID) CITY POPULATION NUMBER (,0) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) P CITYPOPULATIONID * CITY * PROVINCE POPULATION YEAR NUMBER (,0) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) NUMBER (,0) NUMBER (,0) CITY POPULATION_PK (CITYPOPULATIONID) PID_ DATE NUMBER (,0) CHAR (10 BYTE) NUMBER (,0) NUMBER (,0) NUMBER (,0) NUMBER (0) NUMBER (,0) NUMBER (0) DATEID DATE_ DAY DAYOFWEEK WEEKNUMBER MONTH_ * QUATER * YEAR_ DATE_PK (DATEID) DEFINITION_ NUMBER (*.0) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (100 BYTE) VARCHAR2 (100 BYTE) * TABLENAME * COLUMNNAME DESCRIPTION_ COMMENTS DEFINITION_PK (ID_) MARKETING CAMPAIGN NUMBER (*.0) VARCHAR2 (30 BYTE) * MCAMPNAME *MCAMPDESCR VARCHAR2 (100 BYTE) DISCOUNTAMOUNT NUMBER (6,2) *MCAMPSTARTDATE CHAR (10 BYTE) * MCAMPENDDATE CHAR (10 BYTE) MARKETING_CAMPAIGN_PK (MCAMPID) P MCAMPID * STOREID * STORENAME * STORECITY * STOREPROVINCE * STOREPOSTALCODE STORES_PK (STOREID) STORES NUMBER (,0) VARCHAR2 (30 BYTE) VARCHAR2 (30 BYTE) VARCHAR2 (50 BYTE) VARCHAR2 (7 BYTE)
Expert Solution
steps

Step by step

Solved in 9 steps

Blurred answer
Knowledge Booster
Requirement Analysis
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 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