CREATE TABLE table_name_27 (total INT, county VARCHAR, rank VARCHAR)

How many totals does cork have whose rank is larger than 2?
SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2
SELECT SUM("total") FROM "table_name_27" WHERE "cork" = "county" AND "rank" > 2