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_87 (losses INTEGER, scored VARCHAR, points VARCHAR)
  ### Question:
  Which Losses has Scored of 9, and Points larger than 8?
  ### Answer:
  SELECT AVG(losses) FROM table_name_87 WHERE scored = 9 AND points > 8