Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started