Yurttas/PL/DBL/mssql/F/01/PC/q17.sql

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2REM
 3REM q17.sql
 4REM
 5REM Find the manufacturers of PC's with at least
 6REM three different speeds.
 7REM
 8*/
 9
10SELECT P.maker
11FROM Product P, PC
12WHERE P.model=PC.model
13GROUP BY P.maker
14HAVING COUNT(DISTINCT speed)>=3;