human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: School, Locality, Ages, Capacity, Ofsted
###Question: Which School has a Capacity larger than 730, and an Ofsted smaller than 106135, and a Locality of heaton mersey?
gpt
SELECT School FROM table WHERE Capacity > 730 AND Ofsted < 106135 AND Locality = heaton mersey