mysql中没有序列,取代oracle中序列的是一种数值类型 auto_increment,示例 create table t111 (id int auto_increment primary key, remark varchar(50) );