Yurttas/PL/DBL/mysql/F/01/00/PC/q15.sql

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2REM
 3REM q15.sql
 4REM
 5REM Find those hard-disk sizes that occur in two or more PC's.
 6REM For each laptop made by manufacturer 'E', add one inch to
 7REM screen size and subtract $100 from the price.
 8REM
 9*/
10
11\. set-db.sql
12
13SELECT hd
14FROM PC
15GROUP BY hd
16HAVING COUNT(model)>=2;