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

Question: Which Lead Pitch/mm has a Body Width/mm larger than 10.16?
SQL: SELECT SUM("lead_pitch_mm") FROM "type_ii" WHERE "body_width_mm">10.16;

Question: How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm smaller than 18.42?
SQL: SELECT SUM("body_width_mm") FROM "type_ii" WHERE "part_number"='tsop40/44' AND "body_length_mm"<18.42;

Question: Which Lead Pitch/mm has a Part Number of tsop24/28?
SQL: SELECT MAX("lead_pitch_mm") FROM "type_ii" WHERE "part_number"='tsop24/28';