CREATE TABLE table_name_18 (goals_scored INT, games_played INT)

When less than 30 games have been played what is the average goals scored?
SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30
SELECT AVG("goals_scored") FROM "table_name_18" WHERE "games_played" < 30