I don't really know how to search for this, probably it's quite easy to do it, but I don't know how to do this. I have a SQL table:
| c1 | c2 | c3 | c4 | c5 |
data data data data data
So I've 5 columns, and now I want to select the rows with only the following (c1, c2, c3) where that row appears more than 5 times in the table Something like this:
Select c1, c2, c3
From table
having count(*) > 5 and (all in that count, all rows must have the same values on c1, c2, c3)
Can only do this with basical sql queries. Functions, declarations and etc are not allowed. Don't really know if i'm explaining myself well.