序列的创建
create sequence aa_id
increment by 1
start with 1
minvalue 1
maxvalue 99999
cache 20
序列的使用
select aa_id.nextval from dual;
create sequence aa_id
increment by 1
start with 1
minvalue 1
maxvalue 99999
cache 20
select aa_id.nextval from dual;