Yurttas/PL/DBL/postgres/F/01/SPJ/q12.sql
Revision as of 00:55, 5 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 shipments for suppliers in 'London'. REM: SELECT current_schema(); SET search...")
1/*
2REM
3REM q12.sql
4REM
5REM Delete all shipments for suppliers in 'London'.
6REM
7*/
8
9SELECT current_schema();
10SET search_path to "spj";
11
12DELETE FROM Shipments
13WHERE SN IN (SELECT SN
14 FROM Suppliers
15 WHERE City = 'London');