Context: CREATE TABLE table_name_27 (total INTEGER, county VARCHAR, rank VARCHAR)
Question: How many totals does cork have whose rank is larger than 2?
Answer: SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2