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

Question: What years did the sdrive16d model have a Torque of n·m (lb·ft)@1750-3000?
SQL: SELECT "years" FROM "diesel_engines" WHERE "torque"='n·m (lb·ft)@1750-3000' AND "model"='sdrive16d';

Question: What is the torque of the xdrive20d model, which has a power of ps (kw; hp)@4000?
SQL: SELECT "torque" FROM "diesel_engines" WHERE "power"='ps (kw; hp)@4000' AND "model"='xdrive20d';

Question: What is the engine code of the xdrive23d model?
SQL: SELECT "engine_code" FROM "diesel_engines" WHERE "model"='xdrive23d';

Question: What model is the n·m (lb·ft)@1500-2500 torque?
SQL: SELECT "model" FROM "diesel_engines" WHERE "torque"='n·m (lb·ft)@1500-2500';