CREATE TABLE "2007_list" (
  "rank" real,
  "company" text,
  "headquarters" text,
  "industry" text,
  "sales_billion" text,
  "profits_billion" text,
  "assets_billion" text,
  "market_value_billion" text
);

Question: How many headquarters are there listed for HSBC?
SQL: SELECT COUNT("headquarters") FROM "2007_list" WHERE "company"='HSBC';

Question: What is the market value in billions when the assets totaled 1,380.88?
SQL: SELECT "market_value_billion" FROM "2007_list" WHERE "assets_billion"='1,380.88';

Question: What is the highest rank of a company in the oil and gas industry headquartered in Netherlands?
SQL: SELECT MAX("rank") FROM "2007_list" WHERE "industry"='Oil and gas' AND "headquarters"='Netherlands';

Question: What is the lowest rank of a company with 248.44 billions of dollars in assets?
SQL: SELECT MIN("rank") FROM "2007_list" WHERE "assets_billion"='248.44';

Question: In what industry was the company that had 89.16 billions of dollars in sales?
SQL: SELECT "industry" FROM "2007_list" WHERE "sales_billion"='89.16';