Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_32 (goals INTEGER, competition VARCHAR, apps VARCHAR)
### Question:
How many goals did he have in the bundesliga with under 7 appearances?
### Answer:
SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7