Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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. a

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 Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Explain the use of the employment interview.

Answered: 1 week ago