What is the average number of points for a song ranked 2nd with a draw greater than 3?
CREATE TABLE table_name_35 (points INTEGER, rank VARCHAR, draw VARCHAR)
SELECT AVG(points) FROM table_name_35 WHERE rank = "2nd" AND draw > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (points INTEGER, rank VARCHAR, draw VARCHAR) Question: What is the average number of points for a song ranked 2nd with a draw greater than 3? [/INST] SELECT AVG(points) FROM table_name_35 WHERE rank = "2nd" AND draw > 3 </s>