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

From ZCubes Wiki
Revision as of 04:35, 3 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">/* REM REM q15.sql REM REM Find those hard-disk sizes that occur in two or more PC's. REM For each laptop made by manu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
11SELECT hd
12FROM PC
13GROUP BY hd
14HAVING COUNT(model)>=2;