CREATE TABLE "ships_attacked" (
  "date" text,
  "name_of_ship" text,
  "flag" text,
  "tonnage" real,
  "fate" text
);

Question: How did the ship named proletarij finish its service?
SQL: SELECT "fate" FROM "ships_attacked" WHERE "name_of_ship"='proletarij';

Question: What is the average tonnage of the ship named proletarij?
SQL: SELECT AVG("tonnage") FROM "ships_attacked" WHERE "name_of_ship"='proletarij';