CREATE TABLE "ships_attacked" (
  "date" text,
  "ship" text,
  "nationality" text,
  "tonnage" real,
  "fate" text
);

Question: What is the date of the ship with a tonnage greater than 8,017?
SQL: SELECT "date" FROM "ships_attacked" WHERE "tonnage">'8,017';

Question: What ship has a norway nationality?
SQL: SELECT "ship" FROM "ships_attacked" WHERE "nationality"='norway';

Question: What is the fate of the ship on 26 April 1942?
SQL: SELECT "fate" FROM "ships_attacked" WHERE "date"='26 april 1942';

Question: What is the highest tonnage of the ship from norway?
SQL: SELECT MAX("tonnage") FROM "ships_attacked" WHERE "nationality"='norway';