Table: ice_hockey_1938
Columns: pos
team
wins
ties
losses
goals
diff
points

Question: What is the most wins when the number of losses was less than 4 and there was more than 0 ties?
SQL: SELECT MAX("wins") FROM ice_hockey_1938 WHERE "losses" < 4 AND "ties" > 0

Question: Which team had fewer than 2 losses and a position number more than 1?
SQL: SELECT "team" FROM ice_hockey_1938 WHERE "losses" < 2 AND "pos" > 1