CREATE TABLE "engines" (
  "name" text,
  "code" text,
  "capacity" text,
  "configuration" text,
  "power" text,
  "torque" text,
  "top_speed" text,
  "acceleration_0_100km_h_0_62mph" text
);

Question: What is the capacity of code f4r?
SQL: SELECT "capacity" FROM "engines" WHERE "code"='f4r';

Question: What is the code of 1.5 dci 110, which has a capacity of 1,461cc?
SQL: SELECT "code" FROM "engines" WHERE "capacity"='1,461cc' AND "name"='1.5 dci 110';