A B wrote: > Assuming you have a table where some rows have the same values in all > columnes, how do you find these rows? There is no reliable, time-independent way. That's one reason why you have primary keys on tables. There is the system column "ctid", but that may change any second. Yours, Laurenz Albe