Question: How many losses altogether were had by teams that won 12 times, had 40-4 points, and more than 57 goals?
SQL: SELECT SUM("Losses") FROM "2-12109851-5" WHERE "Wins" = 12.0 AND "Points" = '40-4' AND "Goals for" > 57.0;

Question: What's the average number of played games from rayo vallecano with less than 12 wins?
SQL: SELECT AVG("Played") FROM "2-12109851-5" WHERE "Club" = 'rayo vallecano' AND "Wins" < 12.0;