What is the average Points when the Points Against is 594, and Losses is more than 3?
CREATE TABLE table_name_85 (points INTEGER, points_against VARCHAR, losses VARCHAR)
SELECT AVG(points) FROM table_name_85 WHERE points_against = 594 AND losses > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (points INTEGER, points_against VARCHAR, losses VARCHAR) Question: What is the average Points when the Points Against is 594, and Losses is more than 3? [/INST] SELECT AVG(points) FROM table_name_85 WHERE points_against = 594 AND losses > 3 </s>