Table: bannister_javelin_stats
Columns: year
competition
venue
position
event

Question: What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?
SQL: SELECT SUM("year") FROM bannister_javelin_stats WHERE "position" = '6th' AND "competition" = 'commonwealth games'

Question: What is the highest Year, when the Venue is Beijing, PR China?
SQL: SELECT MAX("year") FROM bannister_javelin_stats WHERE "venue" = 'beijing, pr china'

Question: What is the average Year, when Competition is Oceania Youth Championships?
SQL: SELECT AVG("year") FROM bannister_javelin_stats WHERE "competition" = 'oceania youth championships'

Question: What is Event, when Position is 4th?
SQL: SELECT "event" FROM bannister_javelin_stats WHERE "position" = '4th'