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
context: CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER)