Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Course: Database Management System (DBMS) write SQL queries correctly that are asked in this question. The following relational database schema contains information about products including

Course: Database Management System (DBMS) write SQL queries correctly that are asked in this question.

image text in transcribed

The following relational database schema contains information about products including pcs, laptops and printers. Product (model maker, price) Pc (model, product, speed, ram, hardDisk) Laptop (model, product, speed, ram, hardDisk, screen) Printer (model product, color, type) (a) [02 points] Write a SQL query to store the fact that PC model 1500 is made by manufacturer A, has speed 3.1, RAM 1024, hard disk 300, and sells for 2499 Euros. (b) [01 point] Suppose that manufacturer B buys manufacturer C. Write a SQL query to change all products made by C so they are now made by B. (c) [02 point] Write a SQL query that for each PC, doubles the amount of hard disk and adds 1024 megabytes to the amount of RAM

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

C++ Database Development

Authors: Al Stevens

1st Edition

1558283579, 978-1558283572

More Books

Students also viewed these Databases questions

Question

4. Identify cultural variations in communication style.

Answered: 1 week ago