Context: CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)
Question: What are the apps for less than 61 goals and before rank 6?
Answer: SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61