postgresql 主鍵自增

postgreSQL 自增須要使用序列sql 1.使用SERIALpost CREATE TABLE users ( id SERIAL primary key , name character varying, password character varying ) 自動建立名爲users_id_seq的序列,且MAXVALUE=9223372036854775807code 其他值爲1 ta
相關文章
相關標籤/搜索