摘要:
char 默认是1 个字符 char(12) 设置是12个字符 不管是中文还是英文或者数字只能有十二个 设置外键时,这时候外键对应的父键的字段要是主键 非空而且是唯一. create table t1 (id int primary key auto_increment,name char(12) not null,age int,sex enum('male'... 阅读全文
posted @ 2019-03-09 18:45
LmtMe
阅读(115)
评论(0)
推荐(0)