扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
CREATE TABLE "APPTEST" (
"ID" INTEGER primary key NOT NULL,
"MOBILE" nvarchar2(50) NOT NULL
);
delete from APPTEST a where rowid not in (select max(rowid) from APPTEST b where a.mobile=b.mobile);
delete APPTEST where rowid in (
select rid from
(select rowid rid,row_number() over(partition by mobile order by id desc) rn from APPTEST )
where rn > 1) ;如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。