user: ### NOW ANSWER:
Question: Which Year has a Venue of bydgoszcz, poland, and an Event of junior team?
Columns: ['Year', 'Competition', 'Venue', 'Position', 'Event']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [2007.0, 'World Cross Country Championships', 'Mombasa , Kenya', '23rd', 'Junior race']
SQL:

assistant: SELECT AVG("Year") FROM "Table" WHERE "Venue" = 'bydgoszcz, poland' AND "Event" = 'junior team';