Table: peter_tomka
Columns: name
nationality
position
tenure_began
term_ending

Question: Position of member, and a Nationality of india is what sum of term ending?
SQL: SELECT SUM("term_ending") FROM peter_tomka WHERE "position" = 'member' AND "nationality" = 'india'

Question: Name of xue hanqin has what highest term ending?
SQL: SELECT MAX("term_ending") FROM peter_tomka WHERE "name" = 'xue hanqin'

Question: Position of member, and a Tenure Began of 2010, and a Name of xue hanqin has what lowest term ending?
SQL: SELECT MIN("term_ending") FROM peter_tomka WHERE "position" = 'member' AND "tenure_began" = 2010 AND "name" = 'xue hanqin'

Question: Term Ending smaller than 2018, and a Nationality of new zealand what is the name?
SQL: SELECT "name" FROM peter_tomka WHERE "term_ending" < 2018 AND "nationality" = 'new zealand'