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 é a soma das perdas quando as vitórias são superiores a 6, o clube é camperdown e contra é superior a 1238?
 ###Tabelas: CREATE TABLE 1937_ladder (1937_ladder_id AUTO_INCREMENT PRIMARY KEY, Club VARCHAR, Wins INT, Losses INT, Draws INT, Against INT) CREATE TABLE line_honours_results_top_10 (line_honours_results_top_10_id AUTO_INCREMENT PRIMARY KEY, Position INT, Race number VARCHAR, Sail number VARCHAR, Yacht VARCHAR, State/country VARCHAR, Yacht type VARCHAR, LOA (Metres) VARCHAR, Skipper VARCHAR, Elapsed time d:hh:mm:ss VARCHAR) CREATE TABLE top_five_scoring_international_players_tier_3 (top_five_scoring_international_players_tier_3_id AUTO_INCREMENT PRIMARY KEY, Number INT, Player VARCHAR, Years active VARCHAR, Caps INT, Tries INT, Conversions INT, Penalties INT, drop goals INT, Average score INT, Score INT) CREATE TABLE total_playoff_berths_while_in_the_afl_afc_east (total_playoff_berths_while_in_the_afl_afc_east_id AUTO_INCREMENT PRIMARY KEY, Team VARCHAR, Division Titles INT, Playoff Berths INT, AFL Titles INT, AFC Championships INT, Super Bowl Championships INT) CREATE TABLE current_medical_schools_in_the_caribbean (current_medical_schools_in_the_caribbean_id AUTO_INCREMENT PRIMARY KEY, Country/Territory VARCHAR, Established INT, Degree VARCHAR, Regional/Offshore VARCHAR, IMED/Avicenna Listed VARCHAR)  
SELECT SUM Losses FROM 1937_ladder WHERE Wins > 6 AND Club = camperdown AND Against > 1238