I am trying to answer the questions found at http://www.sql-ex.ru/learn_exercises.php#answer_ref recently, as I am new to sql, as you can see from my previous sql posts. I am through this question:
Exercise: 23 Find creators who produce at least both a computer with a speed of at least 750 MHz and a laptop with a speed of at least 750 MHz. Results Set: Maker
Below is my answer, which is incorrect since it uses or. can someone direct me to a good direction, either by providing me with a link where to look, or which connection should I use.
SELECT pt.maker
FROM product pt,
laptop l,
pc
WHERE (pt.model = pc.model
AND pc.speed >=750)
OR (pt.model = l.model
AND l.speed >=750)
GROUP BY pt.maker
source
share