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 cars_data (horsepower INTEGER, year INTEGER)
  ### Question:
  What is the average horsepower for all cars produced before 1980 ?
  ### Answer:
  SELECT AVG(horsepower) FROM cars_data WHERE year < 1980