Table: canadian_tv_affiliation
Columns: city_of_license_market
station
channel_tv_rf
year_of_affiliation
year_of_disaffiliation

Question: What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 2001?
SQL: SELECT MAX("year_of_disaffiliation") FROM canadian_tv_affiliation WHERE "station" = 'chch-tv' AND "year_of_affiliation" > 2001

Question: What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario?
SQL: SELECT MIN("year_of_disaffiliation") FROM canadian_tv_affiliation WHERE "city_of_license_market" = 'hamilton, ontario'