Table: superliga_voley_stats
Columns: team
sets
sets_2
points
points_2

Question: What is the highest Sets+ number for Valeriano Allès Menorca when the Sets- number was larger than 31?
SQL: SELECT MAX("sets") FROM superliga_voley_stats WHERE "team" = 'valeriano allès menorca' AND "sets_2" > 31

Question: What is the total number of Points- when the Sets- is larger than 51?
SQL: SELECT COUNT("points_2") FROM superliga_voley_stats WHERE "sets_2" > 51

Question: What is the highest Points+ number when the Points- number is larger than 1385, a Sets+ number smaller than 37 and a Sets- number larger than 41?
SQL: SELECT MAX("points") FROM superliga_voley_stats WHERE "points_2" > 1385 AND "sets" < 37 AND "sets_2" > 41

Question: Who is the team who had a Sets+ number smaller than 20, a Sets- number of 45, and a Points+ number smaller than 1238?
SQL: SELECT "team" FROM superliga_voley_stats WHERE "sets" < 20 AND "points" < 1238 AND "sets_2" = 45

Question: What is the highest Points+ number that has a Sets+ number larger than 45, a Sets- number larger than 9, and a Points- number smaller than 1066?
SQL: SELECT MAX("points") FROM superliga_voley_stats WHERE "sets" > 45 AND "points_2" < 1066 AND "sets_2" > 9