Table: sea_eagles_honours
Columns: year
competition
wins
draws
loses

Question: What highest Year has Wins 15 and Losses less than 5?
SQL: SELECT MAX("year") FROM sea_eagles_honours WHERE "wins" = 15 AND "loses" < 5

Question: What average Year has Losses 4, and Wins less than 18, and Draws greater than 1?
SQL: SELECT AVG("year") FROM sea_eagles_honours WHERE "loses" = 4 AND "wins" < 18 AND "draws" > 1

Question: What average Wins has Losses 2, and Draws less than 0?
SQL: SELECT AVG("wins") FROM sea_eagles_honours WHERE "loses" = 2 AND "draws" < 0

Question: What average Loses has Draws less than 0?
SQL: SELECT AVG("loses") FROM sea_eagles_honours WHERE "draws" < 0

Question: What sum of Losses has Year greater than 1972, and Competition of nswrfl, and Draws 0, and Wins 16?
SQL: SELECT SUM("loses") FROM sea_eagles_honours WHERE "year" > 1972 AND "competition" = 'nswrfl' AND "draws" = 0 AND "wins" = 16