mysql序列创建和select nextval()

1 CREATE SEQUENCE 'app_id_seq' increment by 1 minvalue 1 no maxvalue start WITH 1 ;
2 
3 select nextval('app_id_seq');

 

posted @ 2022-06-16 15:56  fhaain  阅读(772)  评论(0)    收藏  举报