思路:
用 alter table ... add ... 语句可以向已存在的表插入新字段,并且能够与创建表时一样,在字段名和数据类型后加入not null、default等限定
alter table actor add create_date datetime not null default '0000-00-00 00:00:00';
思路:
用 alter table ... add ... 语句可以向已存在的表插入新字段,并且能够与创建表时一样,在字段名和数据类型后加入not null、default等限定
alter table actor add create_date datetime not null default '0000-00-00 00:00:00';