CREATE TABLE "ships_served_in_by_richard_bolitho" (
  "ship" text,
  "guns" text,
  "class" text,
  "captain" text,
  "rank" text,
  "year" text
);

Question: Tell me the ship for lieutenant montagu verling
SQL: SELECT "ship" FROM "ships_served_in_by_richard_bolitho" WHERE "captain"='lieutenant montagu verling';

Question: Tell me the class for admiral and hms frobisher
SQL: SELECT "class" FROM "ships_served_in_by_richard_bolitho" WHERE "rank"='admiral' AND "ship"='hms frobisher';

Question: Tell me the guns for third-rate ship of the line and rank of vice-admiral with year of 1802
SQL: SELECT "guns" FROM "ships_served_in_by_richard_bolitho" WHERE "class"='third-rate ship of the line' AND "rank"='vice-admiral' AND "year"='1802';

Question: Tell me the captain for 1774 and guns of 14
SQL: SELECT "captain" FROM "ships_served_in_by_richard_bolitho" WHERE "year"='1774' AND "guns"='14';

Question: Tell me the captain for guns of 28
SQL: SELECT "captain" FROM "ships_served_in_by_richard_bolitho" WHERE "guns"='28';