Hello,
I have a table with four columns, where col1 & col2 contain similar values (INT). I now want to know, if there are duplicates in col1 and/or col2. i.e.,
col1 | col2
-----+-----
111 | 222
333 | 444
111 | 333
555 | 111
→ Duplicates: 111 (3x) and 333 (2x).
I use sqlite, but I think this is a basic sql question.
Thanks,
mspoerr