SCHEMA:
CREATE TABLE table_name_6 (losses INTEGER, against VARCHAR, wins VARCHAR, club VARCHAR)
USER:
What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238?

QUERY:
SELECT SUM(losses) FROM table_name_6 WHERE wins > 6 AND club = "camperdown" AND against > 1238