Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

year quarter month product sales _ amount 2 0 2 1 Q 1 Jan A 1 0 0 0 2 0 2 1 Q 1

year quarter month product sales_amount
2021 Q1 Jan A 1000
2021 Q1 Jan B 2000
2021 Q1 Jan C 3000
2021 Q1 Feb A 1500
2021 Q1 Feb B 2500
2021 Q1 Feb C 3500
2021 Q1 Mar A 2000
2021 Q1 Mar B 3000
2021 Q1 Mar C 4000
2021 Q2 Apr A 1200
2021 Q2 Apr B 2200
2021 Q2 Apr C 3200
2021 Q2 May A 1800
2021 Q2 May B 2800
2021 Q2 May C 3800
2021 Q2 Jun A 2200
2021 Q2 Jun B 3200
2021 Q2 Jun C 4200 using this table i created schema on snowflake. now i need to Create a dice from cube on product A & C, month having ODD
number and Quarter having EVEN number and execute the following opertions -
1. Total Sale value by -
a. Each Year
b. Each Quarter
c. Each Month
d. Each Product
e. Each Year,Quarter Combination
f. Each Year,Month Combination
g. Each Year,Product Combination
h. Each Quarter,Month Combination
i. Each Quarter,Product Combination
j. Each Month,Product Combination
k. Each Year,Quarter,Month Combination
l. Each Year,Quarter,Product Combination
m. Each Year,Month,Product Combination
n. Each Quarter,Month,Product Combination
o. Total Sales value.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is a concurring partner review, and what is its purpose?

Answered: 1 week ago

Question

Choosing Your Topic Researching the Topic

Answered: 1 week ago

Question

The Power of Public Speaking Clarifying the

Answered: 1 week ago