34,590
社区成员
发帖
与我相关
我的任务
分享
delete a from tb a where exists(select 1 from tb where 姓名=a.姓名 and 科目=a.科目 and id<a.id)
delete from tb a where exists(select 1 from tb where 姓名=a.姓名 and 科目=a.科目 and id<a.id)
delete t from tb t where exists(select 1 from tb where 姓名=t.姓名 and 科目=t.科目 and 分数=t.分数 and 序号<t.序号)