234题解 | DDL,添加新字段
在last_update后面新增加一列名字为create_date
https://www.nowcoder.com/practice/119f04716d284cb7a19fba65dd876b03
alter table actor add create_date datetime not null default '2020-10-01 00:00:00' # alter table '表名' add 字段名 字段类型 约束;
在last_update后面新增加一列名字为create_date
https://www.nowcoder.com/practice/119f04716d284cb7a19fba65dd876b03
alter table actor add create_date datetime not null default '2020-10-01 00:00:00' # alter table '表名' add 字段名 字段类型 约束;
相关推荐