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: Quais Byes têm Perdas maiores do que 0 e um Contra maior do que 3049?
 ###Tabelas: CREATE TABLE 2006_regular_season_football_standings (2006_regular_season_football_standings_id AUTO_INCREMENT PRIMARY KEY, School VARCHAR, Team VARCHAR, Division Record VARCHAR, Overall Record VARCHAR, Season Outcome VARCHAR) CREATE TABLE series_10 (series_10_id AUTO_INCREMENT PRIMARY KEY, Episode VARCHAR, First aired VARCHAR, Entrepreneur(s) VARCHAR, Company or product name VARCHAR, Money requested (£) VARCHAR, Investing Dragon(s) VARCHAR) CREATE TABLE list_of_songs_released_in_2009 (list_of_songs_released_in_2009_id AUTO_INCREMENT PRIMARY KEY, Song title VARCHAR, Artist VARCHAR, Decade VARCHAR, Genre VARCHAR, Single / Pack name VARCHAR, Release date VARCHAR, Family Friendly VARCHAR, Additional Rock Band 3 Features VARCHAR) CREATE TABLE women's_winners (women's_winners_id AUTO_INCREMENT PRIMARY KEY, Year INT, Athlete VARCHAR, Nation VARCHAR, Time VARCHAR, Location VARCHAR) CREATE TABLE 2012_ladder (2012_ladder_id AUTO_INCREMENT PRIMARY KEY, Mininera DFL VARCHAR, Wins INT, Byes INT, Losses INT, Draws INT, Against INT)  
SELECT AVG Byes FROM 2012_ladder WHERE Losses > 0 AND Against > 3049