text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_74 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR)
  ### Question:
  What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario?
  ### Answer:
  SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario"