Yurttas/PL/DBL/mssql/F/01/PC/q12.sql
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 q12.sql REM REM Delete all PC's with less than 2 gigabyte of hard disk. REM: DELETE FROM Product WHERE m...")
1/*
2REM
3REM q12.sql
4REM
5REM Delete all PC's with less than 2 gigabyte of hard disk.
6REM
7*/
8
9DELETE FROM Product
10WHERE model IN (SELECT model
11 FROM PC
12 WHERE hd<2.0);
13
14DELETE FROM PC
15WHERE hd<2.0;