主键的单词 primary key
自增长单词 auto_increment
默认值单词 default
非空单词 not null
唯一的单词 unique
定义名为id的列,int类型,主键,自增长 id int primary key auto_increment
定义名为phone的列,定长字符串,占11字符,唯一 phone char(11) unique
定义名为name的列,动长字符串,最大长度6字符,非空 name varchar(6) not null
定义名为country的列,动长字符串,最大长度为4,默认值为中国 country varchar(4) default '中国'