CREATE TABLE table_name_40 (floors INT, city VARCHAR, rank VARCHAR)

What is the average number of floors for buildings in mecca ranked above 12?
SELECT AVG(floors) FROM table_name_40 WHERE city = "mecca" AND rank < 12
SELECT AVG("floors") FROM "table_name_40" WHERE "city" = "mecca" AND "rank" < 12