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

From ZCubes Wiki
Revision as of 23:13, 4 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 SET q...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1REM
 2REM q10.sql
 3REM
 4REM Set the shipment quantity to zero for all suppliers in 
 5REM 'Denver'.
 6
 7UPDATE Shipments
 8SET quantity = 0
 9WHERE sn IN (SELECT sn
10             FROM Suppliers
11             WHERE city = 'Denver');