题解 | #删除记录(二)#
删除记录(二)
http://www.nowcoder.com/practice/964c9f7fffbb4ab18b507cfed4111b4a
delete from exam_record where submit_time is null or timestampdiff(minute,start_time,submit_time) < 5 order by start_time asc limit 3;
#limit 0,3报错,因为delete后面的limit只能跟一个整数