sql - Delete duplicate rows using Analytical functions -


can delete duplicate rows using analytical functions? mean using row_number() or rank or dense_rank() in sql query in oracle?

you can use row_number() on partition of columns should unique you, e.g: row_number() on (partition column1, column2 order column1). every result has rownumber > 1 duplicate.

you can example return rowid's , delete them.


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -