Question: Product(maker, model, type) PC(model, speed, ram, hd, rd, price) Laptop(model, speed, ram, hd, screen, price) Printer(model, color, type, price) Give SQL statement for each of

Product(maker, model, type)

PC(model, speed, ram, hd, rd, price)

Laptop(model, speed, ram, hd, screen, price)

Printer(model, color, type, price)

Give SQL statement for each of the following:

  1. (Subqueries, Join operations) Write the following queries in SQL:
  1. Find the makers of PCs with a speed of at least 1200.
  2. Find the printers with the highest price.
  3. Find the laptops whose speed is lower than that of any PC.
  4. Find the model number of the item (PC, laptop, or printer) with the highest price.
  5. Find the maker of the color printer with the lowest price.
  6. Find the maker(s) of the PC(s) with the fastest processor among all those PCs that have the smallest amount of RAM.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!