CREATE TABLE "type_i" (
  "part_number" text,
  "pins" text,
  "body_width_mm" real,
  "body_length_mm" real,
  "lead_pitch_mm" real
);

Question: Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Body Length/mm larger than 18.4?
SQL: SELECT MIN("body_width_mm") FROM "type_i" WHERE "lead_pitch_mm"<0.55 AND "body_length_mm">18.4;

Question: Which Body Length/mm has a Lead Pitch/mm smaller than 0.5?
SQL: SELECT AVG("body_length_mm") FROM "type_i" WHERE "lead_pitch_mm"<0.5;

Question: How much Body Width/mm has a Body Length/mm of 18.4, and Pins of 40?
SQL: SELECT COUNT("body_width_mm") FROM "type_i" WHERE "body_length_mm"=18.4 AND "pins"='40';

Question: Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Part Number of tsop48?
SQL: SELECT MIN("body_width_mm") FROM "type_i" WHERE "lead_pitch_mm"<0.55 AND "part_number"='tsop48';

Question: Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4?
SQL: SELECT MAX("lead_pitch_mm") FROM "type_i" WHERE "part_number"='tsop40' AND "body_length_mm">18.4;