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:
- (Subqueries, Join operations) Write the following queries in SQL:
- Find the makers of PCs with a speed of at least 1200.
- Find the printers with the highest price.
- Find the laptops whose speed is lower than that of any PC.
- Find the model number of the item (PC, laptop, or printer) with the highest price.
- Find the maker of the color printer with the lowest price.
- 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
Get step-by-step solutions from verified subject matter experts
