user: Question: What is the average score for 6th place with a total of 165?
Columns: ['Rank by average', 'Place', 'Perfect 40s', 'Total', 'Number of dances', 'Season', 'Average']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['1', '2nd', '11', '666', '17', '10', '39.18']
SQL:

assistant: SELECT "Average" FROM "Table" WHERE "Place" = '6th' AND "Total" = '165';