Table: football_stats_5
Columns: goalkeeper
goals
matches
average
team

Question: What is the sum of Goals, when Matches is less than 29?
SQL: SELECT SUM("goals") FROM football_stats_5 WHERE "matches" < 29

Question: What is the highest Average, when Goals is "34", and when Matches is less than 37?
SQL: SELECT MAX("average") FROM football_stats_5 WHERE "goals" = 34 AND "matches" < 37