postgresql设置主键自增
摘要:
法一: CREATE TABLE banners ( id SERIAL primary key , name character varying, ) 法二: CREATE SEQUENCE banners_id_seq START WITH 1 INCREMENT BY 1 NO MINVALU 阅读全文
posted @ 2020-01-07 16:28 不要挡着我晒太阳 阅读(1814) 评论(0) 推荐(0) 编辑