mysql数据库操作之备注(comment)

[复制链接]
查看2595 | 回复0 | 2020-9-30 09:29 | 显示全部楼层 |阅读模式
mysql数据库操作之备注(comment)说明性文本
  1. mysql> create table stu29(
  2.     -> id int primary key comment '学号',
  3.     -> name varchar(20) not null comment '姓名'
  4.     -> );
  5. Query OK, 0 rows affected (0.03 sec)
复制代码

mysql数据库操作之备注(comment)

mysql数据库操作之备注(comment)

注意:备注属于SQL代码的一部分


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

UID
1
贡献
387
丢币
38902
主题
4607
回帖
116
注册时间
2018-9-25
最后登录
2024-4-16