Relations:
Product(maker, model, type)
Laptop(Model, price, speed, ram, hd, screen)
PC(model, price, speed, ram, hd)
Printer(model,price, color, price)
I am trying to find the laptops that have a speed slower than that of any pc.
What I have tried:
SELECT model FROM laptop WHERE laptop.speed <
(SELECT speed FROM pc WHERE pc.speed < all);
I am trying to get the slowest speed in the pc relation and compare that speed to the speeds of the laptops. Which I figure would give me the relation I am looking for. I just keep getting a syntax error.
Learn more about the MIN() function here.