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_49 (average VARCHAR, place VARCHAR, total VARCHAR)
  ### Question:
  What is the average score for 6th place with a total of 165?
  ### Answer:
  SELECT average FROM table_name_49 WHERE place = "6th" AND total = "165"