How can I get only non-unique values from 2 columns table:
I need something like
Select a,b from tableA group by a,b having count(a,b)>1
Now of cource it doesn’t because of count.
I’ve forgot how can I do it and maybe thank to you I get known new simply solution 🙂
Best regards
this should work.
count cannot have multiple fields in it. either star which indicates everything or a single field which basically does the same thing as star unless that field’s value is NULL in which case it is not counted.