Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.1: Write a query to create a database with datawarehouse_exam name. (1-Marks) Answer 1.1: 1.2: Write a query to use this database to create tables.

image text in transcribed
1.1: Write a query to create a database with datawarehouse_exam name. (1-Marks) Answer 1.1: 1.2: Write a query to use this database to create tables. (1-Marks) Answer 1.2: 1.3: Create the following "sales" table. Then insert the given values into this table. (3-Marks) Answer 1.3: 1.4: Fetch all the data from sales table. (1-Marks) Answer 1.4: 1.5: Write a command to describing sales Table Schema. (1-Marks) Answer 1.5: 1.6: Write a query to perform Rollup operation to get the sum of profit year-wise with rollup. (2Marks) Answer 1.6: 1.7: Write a query to find the year, country, product, and total prefit with the greup of country and preduct with year. (2-Marks)

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

Data Science For Dummies

Authors: Lillian Pierson ,Jake Porway

2nd Edition

1119327636, 978-1119327639

More Books

Students also viewed these Databases questions