When i use analytical functions i get more duplicates?
Answers
Answered by
0
You can use ROW_NUMBER() over a partition of columns that should be unique for you, e.g: ROW_NUMBER() OVER (PARTITION BY COLUMN1, COLUMN2 ORDER BY COLUMN1). Every result that has a rownumber > 1 is a duplicate.
You can then for example return the rowid's for those and delete them.
You can then for example return the rowid's for those and delete them.
Similar questions
Computer Science,
7 months ago
India Languages,
7 months ago
Physics,
1 year ago
English,
1 year ago
Science,
1 year ago