Lets say I have a table with a column named KEY.
I want to find all KEYs which are in the table exactly 3 times. How can I do that?
I managed to get a list of how many entries I have for each KEY, like this:
select count(*) from my_table group by KEY;
but how can I filter it to show only those who have the value 3?