题解 | #插入记录(二)#
插入记录(二)
http://www.nowcoder.com/practice/9681abf28745468c8adacb3b029a18ce
复制一张表的数据到另外一个结构完全一样的表中 自增id列用null
insert into exam_record_before_2021
select null, uid, exam_id, start_time, submit_time, score from exam_record
where submit_time < '2021-01-01 00:00:00'