Context: CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)
Question: What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
Answer: SELECT SUM(rank) FROM table_name_5 WHERE name = "fernando cavenaghi" AND appearances < 7