在SQL中,可以使用`COMMENT`关键字来添加表注释。例如:
```sql
CREATE TABLE table_name (
column1 datatype,
column2 datatype,
...
) COMMENT 'This is a table comment';
```
也可以使用`ALTER TABLE`语句来添加表注释:
```sql
ALTER TABLE table_name COMMENT 'This is a table comment';
```
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
相关推荐:SQL添加表注释的好处是什么