CREATE TABLE "port_statistics" (
  "product" text,
  "2004" text,
  "2003" text,
  "2002" text,
  "2001" text
);

Question: What was the amount of grain in 2001?
SQL: SELECT "2001" FROM "port_statistics" WHERE "product"='grain';

Question: What is the amount of oil terminal in 2004?
SQL: SELECT "2004" FROM "port_statistics" WHERE "product"='oil terminal';

Question: What is the 2003 statistic for the product that had 514,000 tonnes in 2001?
SQL: SELECT "2003" FROM "port_statistics" WHERE "2001"='514,000 tonnes';

Question: What is the 2002 statistic for the product that had 452,000 tonnes in 2001?
SQL: SELECT "2002" FROM "port_statistics" WHERE "2001"='452,000 tonnes';

Question: What is the 2001 statistic for the product that had 2,360,000 tonnes in 2002?
SQL: SELECT "2001" FROM "port_statistics" WHERE "2002"='2,360,000 tonnes';

Question: What is the 2003 statistic for general cargo?
SQL: SELECT "2003" FROM "port_statistics" WHERE "product"='general cargo';