Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4- a)Assume that X,Y, Z are dimensions in an OLAP application. Indicate what is produced by the following statement? SELECT X,Y, Z , SUM (Amount)

4- a)Assume that X,Y, Z are dimensions in an OLAP application. Indicate what is produced by the following statement? SELECT X,Y, Z , SUM (Amount) AS Sale (Other statements ) GROUP BY ROLLUP (Z, Y, X ); b) What was the reason for GROUP BY ROLLUP( ) and GROUP BY CUBE( ) extensios to SQL standard ? 5.Using your own tables in question1 : a) Give a sample query for a slice operation. b)Give a sample query for a dice operation 6. a) Define a simple table and write a query to compute moving average orders including : previous ,current, next days. b) Write 5 sample rows of your table and show the output from your query. c)What is the meaning of NTILE (20) ?

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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

Assess alternative dispute resolution methods.

Answered: 1 week ago

Question

Question What is the advantage of a voluntary DBO plan?

Answered: 1 week ago