主键递增
-
mysql中的主键递增
CREATE TABLE customers(cust_id int NOT NULL AUTO_INCREMENT,cust_name char(50) NOT NULL ,PRIMARY KEY (cust_id)) ENGINE=InnoDB; 第一次执行时: insert into cust…
CREATE TABLE customers(cust_id int NOT NULL AUTO_INCREMENT,cust_name char(50) NOT NULL ,PRIMARY KEY (cust_id)) ENGINE=InnoDB; 第一次执行时: insert into cust…