Question: 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.1: Write a query to create a database with datawarehouse_exam name.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!