What is the most apps that a has a total season and 3 goals?
CREATE TABLE table_name_22 (apps INTEGER, season VARCHAR, goals VARCHAR)
SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (apps INTEGER, season VARCHAR, goals VARCHAR) Question: What is the most apps that a has a total season and 3 goals? [/INST] SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 3 </s>