序列的创建
create sequence aa_id
increment by 1
start with 1
minvalue 1
maxvalue 99999
cache 20
序列的使用
select aa_id.nextval from dual;
2021-07-10 05:25:21
create sequence aa_id
increment by 1
start with 1
minvalue 1
maxvalue 99999
cache 20
select aa_id.nextval from dual;
下一篇:MySQL插入重复数据