Context: CREATE TABLE tv_channel (id VARCHAR, country VARCHAR)
Question: find id of the tv channels that from the countries where have more than two tv channels.
Answer: SELECT id FROM tv_channel GROUP BY country HAVING COUNT(*) > 2