CREATE TABLE "ships_cruising_in_russia" (
  "ship_name" text,
  "year_built" real,
  "last_refurbished" real,
  "length" text,
  "crew" real,
  "guests" real,
  "staterooms" real,
  "comments" text
);

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

Question: What is the number of guests for the Viking Ingvar, built earlier than 1990?
SQL: SELECT AVG("guests") FROM "ships_cruising_in_russia" 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 "ships_cruising_in_russia" WHERE "last_refurbished"<2013;