CREATE TABLE "singles_as" (
  "year" real,
  "title" text,
  "from_album" text,
  "label" text,
  "label_nr" text
);

Question: How many years have a Form album of the thing?
SQL: SELECT SUM("year") FROM "singles_as" WHERE "from_album"='the thing';

Question: Which Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul?
SQL: SELECT "label_nr" FROM "singles_as" WHERE "year"<1968 AND "label"='world pacific' AND "from_album"='chile con soul';

Question: Which Year has a Label-Nr of 88146?
SQL: SELECT "year" FROM "singles_as" WHERE "label_nr"='88146';

Question: How many years were there albums by heat wave?
SQL: SELECT SUM("year") FROM "singles_as" WHERE "from_album"='heat wave';

Question: Which Title has an album of tough talk, and a Label-Nr of x-371?
SQL: SELECT "title" FROM "singles_as" WHERE "from_album"='tough talk' AND "label_nr"='x-371';