When less than 30 games have been played what is the average goals scored?
CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER)
SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER) Question: When less than 30 games have been played what is the average goals scored? [/INST] SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30 </s>