字段的注释信息。use test;show tables;create table if not exists test_user(id int auto_increment primary key comment 'primay key',username varchar(50) not null,age smallint not null comment '年龄') engine=InnoDB default charset=utf8;show full columns from test_user;...
mysql中的 COMMENT 有什么作用啊
字段的注释信息。
use test;show tables;create table if not exists test_user(id int auto_increment primary key comment 'primay key',username varchar(50) not null,age smallint not null comment '年龄') engine=InnoDB default charset=utf8;show full columns from test_user;2017-07-12
用来给字段或者表写备注2017-07-12