SCHEMA:
CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)
USER:
What are the apps for less than 61 goals and before rank 6?

QUERY:
SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61