Yurttas/PL/DBL/postgres/F/01/Company-B/q13.sql

From ZCubes Wiki
Revision as of 00:44, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→‎REM REM q13.sql REM REM Modify the database so that 'Jones' now employee in 'Newtown'. REM: SELECT current_schem...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM q13.sql
 4REM
 5REM Modify the database so that 'Jones' now employee in 'Newtown'.
 6REM
 7*/
 8
 9SELECT current_schema();
10SET search_path to "companyb";
11
12UPDATE employee
13SET city = 'Newtown'
14WHERE employeename = 'Jones';