Table: dibaba_results
Columns: year
competition
venue
position
notes

Question: what is the latest year when the venue is berlin, germany?
SQL: SELECT MAX("year") FROM dibaba_results WHERE "venue" = 'berlin, germany'

Question: what is the year when the notes is 5000 m and the competition is world junior championships in athletics?
SQL: SELECT COUNT("year") FROM dibaba_results WHERE "notes" = '5000 m' AND "competition" = 'world junior championships in athletics'