发布网友
共1个回答
热心网友
delete from table where (taskid,createtime) not in (select taskid,max(createtime) from table group by taskid)
试一下吧