mysql 给表和字段加注释时间:2021-12-17 05:17:48给表加注释: [sql] view plain copy ALTER TABLE table_name COMMENT='这是表的注释'; 给列加注释: [sql] view plain copy ALTER table table_name MODIFY `column_name` datetime DEFAULT NULL COMMENT '这是字段的注释'