1. 程式人生 > 其它 >如何在建立表的時候新增含義這一列

如何在建立表的時候新增含義這一列

技術標籤:mysqlsql資料庫nosqlpostgresql

舉例說明
我們來建立如下表格所示的表格:

create table if not exists grade(
classes_id int(11) primary key not null comment '班級號',
chinese real not null comment '語文成績',
math real not null comment '數學成績',
english real not null comment '英語成績')

新建的表

新建的表的結構資訊