what is the sum of league goals when the fa cup goals is more than 0?
CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER)
SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: 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? [/INST] SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0 </s>