Yurttas/PL/DBL/postgres/F/01/Movies/q07.sql

From ZCubes Wiki
Revision as of 00:46, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→‎REM REM q07.sql REM REM Delete all movies existing in the given REM Movie database prior to year 1985. REM: SELE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM q07.sql
 4REM
 5REM Delete all movies existing in the given
 6REM Movie database prior to year 1985.
 7REM
 8*/
 9
10SELECT current_schema();
11SET search_path to "movies";
12
13DELETE FROM Movie
14WHERE year < 1985;