Removing duplicate rows in PostgreSQL, Oracle and SQLite

Sometimes you need to remove nasty duplicate on a table, based on a subset of the column. On every big database there is something called “rowid” which can be used to indentify a column in a unique way. On PostgreSQL is called ctid, as we shall see: Oracle way:

Postgresql equivalent is ctid, so …

Removing duplicate rows in PostgreSQL, Oracle and SQLite Read More »