CREATE TABLE table_name_62 (intake INT, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR)

What is the average primary intake with an Ofsted number of 117433 and a DCSF number greater than 3335?
SELECT AVG(intake) FROM table_name_62 WHERE type = "primary" AND ofsted_number = 117433 AND dcsf_number > 3335
SELECT AVG("intake") FROM "table_name_62" WHERE "dcsf_number" > 3335 AND "ofsted_number" = 117433 AND "primary" = "type"