I am looking for records where there are duplicate values in multiple columns. For example:
| id |column1 | column2| column3 | column4|
| 1 | 1 | main | 101 | 234 |
| 2 | 1 | main | 101 | 234 |
| 3 | 2 | main | 101 | 234 |
| 4 | 2 | main | 103 | 234 |
I want to look where there is a match on column1, column2, column3, and column4. I don't want a match on the id. The following should be returned:
| id |column1 | column2| column3 | column4|
| 1 | 1 | main | 101 | 234 |
| 2 | 1 | main | 101 | 234 |
The other 2 would not be returned because they did not match on one of the columns.