Yurttas/PL/DBL/postgres/F/01/PC/q08.sql
Revision as of 23:48, 4 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">→REM REM q08.sql REM REM Find the printers with the highest price. REM: SELECT current_schema(); SET search_path ...")
1/*
2REM
3REM q08.sql
4REM
5REM Find the printers with the highest price.
6REM
7*/
8
9SELECT current_schema();
10SET search_path to "pc";
11
12SELECT model
13FROM Printer
14WHERE price = (SELECT MAX(price)
15 FROM Printer);