How many goals did he have in the bundesliga with under 7 appearances?
CREATE TABLE table_name_32 (goals INTEGER, competition VARCHAR, apps VARCHAR)
SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7 </s>