CREATE TABLE "engines" (
  "name" text,
  "volume" text,
  "engine" text,
  "fuel" text,
  "output" text,
  "torque" text,
  "engine_id_code_s" text,
  "0_100km_h_s" real,
  "top_speed" text,
  "years" text
);

Question: What engine has an output of ps (kw; hp) @4700 rpm?
SQL: SELECT "engine" FROM "engines" WHERE "output"='ps (kw; hp) @4700 rpm';

Question: What is the output of the engine AEX/APQ that uses petrol?
SQL: SELECT "output" FROM "engines" WHERE "fuel"='petrol' AND "engine_id_code_s"='aex/apq';

Question: What is the 0–100km/h,s for the output of ps (kw; hp) @4000 rpm?
SQL: SELECT COUNT("0_100km_h_s") FROM "engines" WHERE "output"='ps (kw; hp) @4000 rpm';