Yurttas/PL/DBL/postgres/F/01/Movies/q03.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 q03.sql REM REM Find the name and address of the producer REM of 'Good Will Hunting' movie. REM: SELECT...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM q03.sql
 4REM
 5REM Find the name and address of the producer 
 6REM of 'Good Will Hunting' movie.
 7REM
 8*/
 9
10SELECT current_schema();
11SET search_path to "movies";
12
13SELECT name, address
14FROM MovieExec, Movie
15WHERE title = 'Good Will Hunting'
16  AND producercn = cn;