CREATE TABLE "romanian_agricultural_research" (
  "production_year" text,
  "2001" real,
  "2002" real,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real,
  "2007" real,
  "2008" real,
  "2009" real,
  "2010" real,
  "2011" real
);

Question: What is the average 2006 value for wheat with a 2005 value greater than 7340?
SQL: SELECT AVG("2006") FROM "romanian_agricultural_research" WHERE "production_year"='wheat' AND "2005">7340;

Question: What is the average 2002 value for Sunflower, which had a 2010 value less than 5587 and a 2007 value greater than 546?
SQL: SELECT AVG("2002") FROM "romanian_agricultural_research" WHERE "2010"<5587 AND "production_year"='sunflower' AND "2007">546;

Question: What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?
SQL: SELECT AVG("2001") FROM "romanian_agricultural_research" WHERE "2010">414 AND "2011"=7192 AND "2005">7340;

Question: What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
SQL: SELECT SUM("2006") FROM "romanian_agricultural_research" WHERE "2011">4113 AND "2008"<7181;