Table: serbia_fed_cup_stats
Columns: year
competition
date
surface
location
score
result

Question: Which competition has a Year of 2008, a Surface of carpet, and a Date of 31 jan?
SQL: SELECT "competition" FROM serbia_fed_cup_stats WHERE "year" = 2008 AND "surface" = 'carpet' AND "date" = '31 jan'

Question: Which surface has a Date of 24–25 apr?
SQL: SELECT "surface" FROM serbia_fed_cup_stats WHERE "date" = '24–25 apr'

Question: How many years have a Surface of clay, and a Score of 4 : 0?
SQL: SELECT COUNT("year") FROM serbia_fed_cup_stats WHERE "surface" = 'clay' AND "score" = '4 : 0'

Question: What is the largest year located in zagreb, croatia?
SQL: SELECT MAX("year") FROM serbia_fed_cup_stats WHERE "location" = 'zagreb, croatia'