Context: CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER)
Question: what is the sum of league goals when the fa cup goals is more than 0?
Answer: SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0