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_29 (score INTEGER, venue VARCHAR, year VARCHAR)
  ### Question:
  What was the sum of the scores before the year 2002, that had the venue of Halmstad?
  ### Answer:
  SELECT SUM(score) FROM table_name_29 WHERE venue = "halmstad" AND year < 2002