Table: viking_cruises_ships
Columns: ship_name
year_built
last_refurbished
length
crew
guests
staterooms
comments

Question: What is the number of staterooms when guests was larger than 210?
SQL: SELECT AVG("staterooms") FROM viking_cruises_ships WHERE "guests" > 210

Question: What is the number of guests for the Viking Ingvar, built earlier than 1990?
SQL: SELECT AVG("guests") FROM viking_cruises_ships WHERE "ship_name" = 'viking ingvar' AND "year_built" < 1990

Question: What is the earliest year built for the ship refurbished earlier than 2013?
SQL: SELECT MIN("year_built") FROM viking_cruises_ships WHERE "last_refurbished" < 2013