Player of corey pavin, and a To par larger than 5 has what average total?
CREATE TABLE table_name_41 (total INTEGER, player VARCHAR, to_par VARCHAR)
SELECT AVG(total) FROM table_name_41 WHERE player = "corey pavin" AND to_par > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (total INTEGER, player VARCHAR, to_par VARCHAR) Question: Player of corey pavin, and a To par larger than 5 has what average total? [/INST] SELECT AVG(total) FROM table_name_41 WHERE player = "corey pavin" AND to_par > 5 </s>