Yurttas/PL/DBL/postgres/F/01/PC/q17.sql
1/*
2REM
3REM q17.sql
4REM
5REM Find the manufacturers of PC's with at least
6REM three different speeds.
7REM
8*/
9
10SELECT current_schema();
11SET search_path to "pc";
12
13SELECT P.maker
14FROM Product P, PC
15WHERE P.model=PC.model
16GROUP BY P.maker
17HAVING COUNT(DISTINCT speed)>=3;