Task: Text to Code
Input (English): What are the ids of all tv channels that have more than 2 TV channels?
Output (English): SELECT id FROM tv_channel GROUP BY country HAVING count(*)  >  2