DROP TABLE IF EXISTS t1; CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 INT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 TINYINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(4) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(6) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(9) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL NULL NULL NULL TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 NULL DROP TABLE t1; CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL UNIQUE KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, UNIQUE KEY `c1` (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 TINYINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 SMALLINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` smallint(5) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 MEDIUMINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 INTEGER UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` int(10) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1; CREATE TABLE t1(c1 BIGINT UNSIGNED AUTO_INCREMENT NOT NULL PRIMARY KEY ) AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 ALTER TABLE t1 AUTO_INCREMENT=10; SHOW CREATE TABLE t1; Table Create Table t1 CREATE TABLE `t1` ( `c1` bigint(20) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`c1`) ) ENGINE=ENGINE AUTO_INCREMENT=10 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 10 11 12 TRUNCATE TABLE t1; INSERT INTO t1 VALUES(null); SELECT * FROM t1; c1 1 DROP TABLE t1;