CREATE TABLE "references" (
  "lms_no" real,
  "wd_no" real,
  "builder" text,
  "serial_no" real,
  "date_built" real
);

Question: Name the total number of serial number for 24 wd no
SQL: SELECT COUNT("serial_no") FROM "references" WHERE "wd_no"=24;

Question: Name the total number of wd number for lms number being 7638
SQL: SELECT COUNT("wd_no") FROM "references" WHERE "lms_no"=7638;

Question: Name the builder for wd number being 22
SQL: SELECT "builder" FROM "references" WHERE "wd_no"=22;

Question: Name the lms number for serial number being 372
SQL: SELECT "lms_no" FROM "references" WHERE "serial_no"=372;

Question: Name the builder for serial number being 377
SQL: SELECT "builder" FROM "references" WHERE "serial_no"=377;