human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Name, Years, Matches, Goals, Goals/Matches
###Question: What average goals have matches less than 228?
gpt
SELECT AVG Goals FROM table WHERE Matches < 228