Table schema:
CREATE TABLE table_name_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR)

Question: What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238?
SQL: SELECT SUM(losses) FROM table_name_6 WHERE wins > 6 AND club = "camperdown" AND against > 1238