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_38 (scored INTEGER, points VARCHAR, position VARCHAR)
  ### Question:
  How many points are in the scored category for the team that has 8 total points and a position that is less than 10?
  ### Answer:
  SELECT SUM(scored) FROM table_name_38 WHERE points = 8 AND position < 10