Yurttas/PL/DBL/postgres/F/01/SPJ/q09.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 q09.sql REM REM Double the status of all suppliers in 'Houston'. REM: SELECT current_schema(); SET searc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
 1/*
 2REM
 3REM q09.sql
 4REM
 5REM Double the status of all suppliers in 'Houston'.
 6REM
 7*/
 8
 9SELECT current_schema();
10SET search_path to "spj";
11
12UPDATE Suppliers
13SET status = status*2
14WHERE city = 'Houston';