Context: CREATE TABLE table_name_17 (name VARCHAR, area VARCHAR, decile VARCHAR, roll VARCHAR)
Question: What is the Onehunga school with a decile 3 and smaller than 310 rolls?
Answer: SELECT name FROM table_name_17 WHERE decile = "3" AND roll < 310 AND area = "onehunga"