Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: qual é o número de gols na liga quando os gols da fa cup são maiores que 0, os aplicativos da fa cup são 2 e os aplicativos da liga são 45?
 ###Tabelas: CREATE TABLE 1957 (1957_id AUTO_INCREMENT PRIMARY KEY, Title VARCHAR, Series VARCHAR, Director VARCHAR, Release date VARCHAR, reissue? VARCHAR) CREATE TABLE appearances_and_goals (appearances_and_goals_id AUTO_INCREMENT PRIMARY KEY, Name VARCHAR, Position VARCHAR, League Apps VARCHAR, League Goals INT, FA Cup Apps VARCHAR, FA Cup Goals INT, League Cup Apps VARCHAR, League Cup Goals INT, Total Apps VARCHAR, Total Goals INT) CREATE TABLE belting_and_debelting_statistics (belting_and_debelting_statistics_id AUTO_INCREMENT PRIMARY KEY, Feb 2010 VARCHAR, Mar 2010 VARCHAR, May 2010 INT, Jun 2010 INT, Jul 2010 INT, Aug 2010 INT, Sep 2010 INT, Oct 2010 INT, Nov 2010 INT, Dec 2010 INT, Jan 2011 INT, Feb 2011 INT, Mar 2011 INT, Apr 2011 INT, May 2011 INT, Jun 2011 INT, Jul 2011 INT, Aug 2011 INT, Sep 2011 INT, Oct 2011 INT, Nov 2011 INT, Dec 2011 INT, Jan 2012 INT, Feb 2012 INT, Mar 2012 INT, Apr 2012 INT, May 2012 INT, Jun 2012 INT, Jul 2012 INT, Aug 2012 INT, Sep 2012 INT, Oct 2012 INT, Nov 2012 INT, Dec 2012 INT, Jan 2013 INT, Feb 2013 INT, Mar 2013 INT, Apr 2013 INT, May 2013 INT, Jun 2013 INT, Jul 2013 INT, Aug 2013 INT, Sep 2013 INT, Oct 2013 INT) CREATE TABLE previous_championship_encounters (previous_championship_encounters_id AUTO_INCREMENT PRIMARY KEY, Year INT, Venue VARCHAR, Competition VARCHAR, Kilkenny score VARCHAR, Waterford score VARCHAR) CREATE TABLE multiple_asian_games_gold_medalists (multiple_asian_games_gold_medalists_id AUTO_INCREMENT PRIMARY KEY, Athlete VARCHAR, Sport VARCHAR, Asian Games VARCHAR, Gold INT, Silver INT, Bronze INT, Total INT)  
SELECT League Goals FROM appearances_and_goals WHERE FA Cup Goals > 0 AND FA Cup Apps = 2 AND League Apps = 45