Yurttas/PL/DBL/mssql/F/01/SPJ/q10.sql

From ZCubes Wiki
Revision as of 04:41, 3 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→‎REM REM q10.sql REM REM Set the shipment quantity to zero for all suppliers in REM 'Denver'.: UPDATE Shipments ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM q10.sql
 4REM
 5REM Set the shipment quantity to zero for all suppliers in 
 6REM 'Denver'.
 7*/
 8
 9UPDATE Shipments
10SET quantity = 0
11WHERE sn IN (SELECT sn
12             FROM Suppliers
13             WHERE city = 'Denver');