SQL Find rows that violate UNIQUE together index

Viewed 1111

i want to put unique index on two (or more) columns in a table, but i get "duplicate keys found". How to select those rows which cause duplication?

2 Answers
Related