Table: legia_war_2008_09
Columns: player
position
ekstraklasa
polish_cup
puchat_ligi
uefa_cup
total

Question: Which Polish Cup has a Puchat Ligi larger than 0?
SQL: SELECT AVG("polish_cup") FROM legia_war_2008_09 WHERE "puchat_ligi" > 0

Question: Which Player has a Total of 3, and an Ekstraklasa smaller than 3, and a UEFA Cup of 2?
SQL: SELECT "player" FROM legia_war_2008_09 WHERE "total" = 3 AND "ekstraklasa" < 3 AND "uefa_cup" = 2

Question: Which Puchat Ligi has a UEFA Cup smaller than 2, and a Player of takesure chinyama?
SQL: SELECT MIN("puchat_ligi") FROM legia_war_2008_09 WHERE "uefa_cup" < 2 AND "player" = 'takesure chinyama'

Question: How much Ekstraklasa has a Total smaller than 3?
SQL: SELECT SUM("ekstraklasa") FROM legia_war_2008_09 WHERE "total" < 3

Question: How much Puchat Ligi has a Total smaller than 5, and an Ekstraklasa larger than 1?
SQL: SELECT SUM("puchat_ligi") FROM legia_war_2008_09 WHERE "total" < 5 AND "ekstraklasa" > 1