Sql>create sequence s1 increment by 1 start with 1;
sql>select s1.nextval from dual;
ans:
Nextval
--------
1
but,how to get below output
nextval
---------
2
3
4
5
6
7
8
9
10
11
12
13
14
15
14 rows
sql>select s1.nextval from dual;
ans:
Nextval
--------
1
but,how to get below output
nextval
---------
2
3
4
5
6
7
8
9
10
11
12
13
14
15
14 rows
Comment