📜  主键从数字开始 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:57.194000             🧑  作者: Mango

代码示例1
#only if the table is created
ALTER TABLE tbl AUTO_INCREMENT = 1000;

#if table is yet to be created
CREATE TABLE tbl (tbl_id AUTO_INCREMENT = 1000);