Initial Revision
[ohcount] / test / expected_dir / sql1.sql / sql / comment
1 // -----------------------------------------------------------------------
2 // Filename:   minvalue.sql
3 // Purpose:    Select the Nth lowest value from a table
4 // Date:       18-Apr-2001
5 // Author:     Deepak Rai, SSE, Satyam Computer Services Ltd. India
6 // -----------------------------------------------------------------------
7 /* a block comment
8 -- finished here */
9 -- Example:
10 --
11 -- Given a table called emp with the following columns:
12 --   id   number
13 --   name varchar2(20)
14 --   sal  number
15 --
16 -- For the second lowest salary:
17 --
18 -- select level, min(sal) from emp
19 -- where level=2
20 -- connect by prior sal < sal
21 -- group by level
22 --