CREATE TABLE table_name_89 (school VARCHAR, locality VARCHAR, capacity VARCHAR, ofsted VARCHAR)

Which School has a Capacity larger than 730, and an Ofsted smaller than 106135, and a Locality of heaton mersey?
SELECT school FROM table_name_89 WHERE capacity > 730 AND ofsted < 106135 AND locality = "heaton mersey"
SELECT "school" FROM "table_name_89" WHERE "capacity" > 730 AND "heaton mersey" = "locality" AND "ofsted" < 106135