Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following relational schema Product(maker, model, type) .PC(model, speed, ram, hd, price) Laptop(model, speed, ram, hd, screen, price) Printer(model, color, type, price) Write the
Consider the following relational schema Product(maker, model, type) .PC(model, speed, ram, hd, price) Laptop(model, speed, ram, hd, screen, price) Printer(model, color, type, price) Write the SQL statement for each of the following queries (6 points per query): 1. Find the ram size and the screen size for laptops costing less than $1000 2. Find those ram sizes that occur in two or more laptops 3. Find the makers of PCs with price higher than all the printers. 4. Find, for each maker, the minimum screen size of its laptops. 5. Delete all the PCs with hd less than 120
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