Table: london_marathon_winners
Columns: country
men_s_race
women_s_race
men_s_wheelchair
women_s_wheelchair
total

Question: What's the highest Total when Women's Wheelchair was 2, Men's Wheelchair was smaller than 1, and Women's race was larger than 0?
SQL: SELECT MAX("total") FROM london_marathon_winners WHERE "women_s_wheelchair" = 2 AND "men_s_wheelchair" < 1 AND "women_s_race" > 0

Question: What's the average men's wheelchair when women's wheelchair is less than 0?
SQL: SELECT AVG("men_s_wheelchair") FROM london_marathon_winners WHERE "women_s_wheelchair" < 0

Question: When the Country is Mexico, Women's race is less than 0, and Men's race is more than 0, what's the average total?
SQL: SELECT AVG("total") FROM london_marathon_winners WHERE "men_s_race" > 0 AND "country" = 'mexico' AND "women_s_race" < 0

Question: What's the sum of Men's race when Women's race is less than 1, Women's Wheelchair is 1, Men's wheelchair is more than 3 and the Total is more than 3?
SQL: SELECT SUM("men_s_race") FROM london_marathon_winners WHERE "women_s_race" < 1 AND "women_s_wheelchair" = 1 AND "total" > 3 AND "men_s_wheelchair" > 3

Question: What's the average Women's Wheelchair when Men's race is 0, Women's race is 1, and Men's wheelchair is less than 2?
SQL: SELECT AVG("women_s_wheelchair") FROM london_marathon_winners WHERE "men_s_race" = 0 AND "women_s_race" = 1 AND "men_s_wheelchair" < 2