Instruct: What is the highest average of goals less than 45 for team Real Sociedad?
Output: SELECT MAX Average FROM table WHERE Goals < 45 AND Team = real sociedad