What is the highest average of goals less than 45 for team Real Sociedad?
CREATE TABLE table_name_3 (average INTEGER, goals VARCHAR, team VARCHAR)
SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (average INTEGER, goals VARCHAR, team VARCHAR) Question: What is the highest average of goals less than 45 for team Real Sociedad? [/INST] SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad" </s>