question: What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9?
answer: SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9
context: CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR)