Is there a way to remove duplicate rows from a table that does not
have a primary key leaving one copy of the row without comparing each
column to each other as suggested by the code example below:
delete from foo x
where x.rowid <(
select min(rowid) from foo y
where y.primary key = x.primary key
)
Any ideas?
have a primary key leaving one copy of the row without comparing each
column to each other as suggested by the code example below:
delete from foo x
where x.rowid <(
select min(rowid) from foo y
where y.primary key = x.primary key
)
Any ideas?
Comment