Yurttas/PL/DBL/postgres/F/01/Movies/q01.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 q01.sql REM REM Find all movies produced by 'Paramount' REM studios in between 1990 - 1995. REM: SELECT ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM q01.sql
 4REM
 5REM Find all movies produced by 'Paramount'
 6REM studios in between 1990 - 1995.
 7REM
 8*/
 9
10SELECT current_schema();
11SET search_path to "movies";
12
13SELECT title
14FROM Movie
15WHERE studioname = 'Paramount'
16  AND year BETWEEN 1990 AND 1995;