CREATE TABLE "patrol" (
  "class" text,
  "ships_in_class" text,
  "pennant_number" real,
  "unit" text,
  "builder" text,
  "commissioned" text
);

Question: Which unit has a Pennant Number of 82?
SQL: SELECT "unit" FROM "patrol" WHERE "pennant_number"=82;

Question: What is the highest pennant number with ships in raahe class?
SQL: SELECT MAX("pennant_number") FROM "patrol" WHERE "ships_in_class"='raahe';

Question: What is the highest pennant number with ships in pori class?
SQL: SELECT MAX("pennant_number") FROM "patrol" WHERE "ships_in_class"='pori';