此查询听起来很简单,但在实现的情况下,听起来似乎很简单。
我的方法是
Delete from Table where id IN( Select id from ( Select id, row_number() Over (partition by id Order by id ) as Rn from Table )where rn>1)
在Oracle中,通常使用rowid:]处理>
rowid
您可以如下使用select into:
select into