Yurttas/PL/DBL/oracle/F/01/SPJ/q02.sql

From ZCubes Wiki
Revision as of 23:13, 4 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div"> REM REM q02.sql REM REM Get supplier numbers for suppliers with a status lower REM than that of supplier 'S01'. REM ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1REM
 2REM q02.sql
 3REM
 4REM Get supplier numbers for suppliers with a status lower
 5REM than that of supplier 'S01'.
 6REM
 7
 8SELECT sn
 9FROM Suppliers
10WHERE status < (SELECT status
11                FROM Suppliers
12                WHERE sn='S01');