postgresql为主键设置自增序列

CREATE SEQUENCE sys_user_id_seq START 1;

nextval(‘sys_user_id_seq’)

postgresql为主键设置自增序列_第1张图片

你可能感兴趣的:(数据库)