CREATE TABLE "ships" (
  "name" text,
  "builder" text,
  "laid_down" text,
  "launched" text,
  "completed" real
);

Question: Which builder completed after 1889?
SQL: SELECT "builder" FROM "ships" WHERE "completed">1889;

Question: Which builder completed before 1890 and launched on 9 june 1888?
SQL: SELECT "builder" FROM "ships" WHERE "completed"<1890 AND "launched"='9 june 1888';

Question: What is the name of the boat that was built by Chatham and Laid down of 25 april 1887?
SQL: SELECT "name" FROM "ships" WHERE "builder"='chatham' AND "laid_down"='25 april 1887';

Question: What boat was laid down on 25 april 1887?
SQL: SELECT "name" FROM "ships" WHERE "laid_down"='25 april 1887';

Question: When did chatham complete the Hmsmedusa?
SQL: SELECT "completed" FROM "ships" WHERE "builder"='chatham' AND "name"='hmsmedusa';