数字型 字符类型 枚举集合 时间类型 有无符号设置–(存在符号) create table user{ user_id int unsigned… … } int(4)和int(11)的区别–int(m) m表示显示宽度(例如,INT(4))。不足位从左按0补齐 补齐关键字zerofill alter table test modify id2 int(12) zerofill;(如果int中不加具体的数值,则默认是10)