CREATE TABLE table_name_3 (average INTEGER, goals VARCHAR(255), team VARCHAR(255))
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"