Table 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?
SQL: SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad"