Yurttas/PL/DBL/mysql-f-2010/01/PC/q12.sql
Revision as of 02:10, 4 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: \. set-db.sql DELETE FROM ...")
1/*
2REM
3REM q12.sql
4REM
5REM Delete all PC's with less than 2 gigabyte of hard disk.
6REM
7*/
8
9\. set-db.sql
10
11DELETE FROM Product
12WHERE model IN (SELECT model
13 FROM PC
14 WHERE hd<2.0);
15
16DELETE FROM PC
17WHERE hd<2.0;