我一直在尝试对我创建的一个表进行评论
comment = 'this is a comment'
但它总是会导致错误。我尝试了以下几种方式:
create table info comment = 'this is a comment about table info' (
...
);
create table info (
places varchar(15) not null,
solar_system varchar(20),
primary key (places),
comment = 'this is a comment about table info'
);
create table info (
places varchar(15) not null,
solar_system varchar(20),
comment = 'this is a comment about table info',
primary key (places)
);
create table info (comment = 'this is a comment about table info',
places varchar(15) not null,
solar_system varchar(20),
primary key (places)
);
我该怎么做才能让桌面上的评论生效?