CREATE TABLE "petrol_engines" (
  "model" text,
  "years" text,
  "engine_code" text,
  "power" text,
  "torque" text
);

Question: What is the engine code for the Xdrive25i?
SQL: SELECT "engine_code" FROM "petrol_engines" WHERE "model"='xdrive25i';

Question: What is the torque on the model with power of hp (kw; ps)@5800?
SQL: SELECT "torque" FROM "petrol_engines" WHERE "power"='hp (kw; ps)@5800';

Question: What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?
SQL: SELECT "torque" FROM "petrol_engines" WHERE "engine_code"='n46b20' AND "power"='ps (kw; hp)@6400';

Question: What is the power for the model xdrive28i sdrive28i?
SQL: SELECT "power" FROM "petrol_engines" WHERE "model"='xdrive28i sdrive28i';

Question: What is the model that was made in the years 2011 2012-?
SQL: SELECT "model" FROM "petrol_engines" WHERE "years"='2011 2012-';

Question: What is the engine code for the model  xdrive35i?
SQL: SELECT "engine_code" FROM "petrol_engines" WHERE "model"='xdrive35i';