CREATE TABLE "known_machines" (
  "location" text,
  "country" text,
  "type" text,
  "wheels" real,
  "configuration" text
);

Question: What location has surveying as the type?
SQL: SELECT "location" FROM "known_machines" WHERE "type"='surveying';

Question: What average wheels has accounting as the type, with IBM Collection as the location?
SQL: SELECT AVG("wheels") FROM "known_machines" WHERE "type"='accounting' AND "location"='ibm collection';

Question: What is the configuration for the country France, with accounting as the type, and wheels greater than 6?
SQL: SELECT "configuration" FROM "known_machines" WHERE "country"='france' AND "type"='accounting' AND "wheels">6;