delete from titles_test where not id in(select id from titles_test group by emp_no order by id asc)
不知道为什么这样就通过了,先以emp_no 分组,按id升序排序,然后删除掉其中id不等于这些最小值的记录