CREATE TABLE table_name_32 (goals INT, competition VARCHAR, apps VARCHAR)

How many goals did he have in the bundesliga with under 7 appearances?
SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7
SELECT AVG("goals") FROM "table_name_32" WHERE "apps" < 7 AND "bundesliga" = "competition"