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 perdas têm um Contra menor que 1018 e Vitórias menores que 14?
 ###Tabelas: CREATE TABLE top_10_in_total_attendance (top_10_in_total_attendance_id AUTO_INCREMENT PRIMARY KEY, League VARCHAR, Sport VARCHAR, Country VARCHAR, Season VARCHAR, Games INT, Average attendance INT, Total attendance INT) CREATE TABLE season_table (season_table_id AUTO_INCREMENT PRIMARY KEY, Club VARCHAR, Total points VARCHAR, Bonus points VARCHAR, Match points VARCHAR, Games VARCHAR, Drawn VARCHAR, Lost VARCHAR, Points for VARCHAR, Points against VARCHAR, Diff VARCHAR) CREATE TABLE cohort_teams (cohort_teams_id AUTO_INCREMENT PRIMARY KEY, Team A VARCHAR, Team C VARCHAR, Team D VARCHAR, Team E VARCHAR, Team F VARCHAR) CREATE TABLE by_country_tally (by_country_tally_id AUTO_INCREMENT PRIMARY KEY, Rank INT, Country/Territory VARCHAR, Mister International INT, 1st runner-up INT, 2nd runner-up INT, 3rd runner-up INT, 4th runner-up INT, Semifinalists INT, Total INT) CREATE TABLE 2012_ladder (2012_ladder_id AUTO_INCREMENT PRIMARY KEY, Wimmera FL VARCHAR, Wins INT, Byes INT, Losses INT, Draws INT, Against INT)  
SELECT AVG Losses FROM 2012_ladder WHERE Against < 1018 AND Wins < 14