Difference between revisions of "Yurttas/PL/DBL/mssql/F/01/PC/q15.sql"
Jump to navigation
Jump to search
(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...") |
(No difference)
|
Latest revision as of 04:35, 3 November 2013
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;