Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

7-2 What are the different types of networks?

Answered: 1 week ago

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago