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_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR)
  ### Question:
  Tell me the total number of positions with goal difference more than -17 and played less than 38
  ### Answer:
  SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38