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_10 (ties INTEGER, losses VARCHAR, games_played VARCHAR)
  ### Question:
  what is the lowest number of ties when the losses is 7 and games played is less than 10?
  ### Answer:
  SELECT MIN(ties) FROM table_name_10 WHERE losses = 7 AND games_played < 10