Table: pali_blues_stats
Columns: year
division
league
reg_season
playoffs

Question: Which Reg Season has a Division of 2?
SQL: SELECT "reg_season" FROM pali_blues_stats WHERE "division" = 2

Question: Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2?
SQL: SELECT MAX("year") FROM pali_blues_stats WHERE "reg_season" = '3rd, western' AND "division" > 2

Question: Which year is the lowest one when the playoffs did not qualify?
SQL: SELECT MIN("year") FROM pali_blues_stats WHERE "playoffs" = 'did not qualify'

Question: Which Year has a Reg Season of 3rd, western?
SQL: SELECT AVG("year") FROM pali_blues_stats WHERE "reg_season" = '3rd, western'

Question: Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013?
SQL: SELECT AVG("division") FROM pali_blues_stats WHERE "reg_season" = '1st, western' AND "playoffs" = 'champions' AND "year" < 2013