CREATE TABLE table_name_39 (name VARCHAR2, decile VARCHAR2, area VARCHAR2)

What school with a decile of 7 is in upper hutt?
SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt"
SELECT "name" FROM "table_name_39" WHERE "7" = "decile" AND "area" = "upper hutt"