CREATE TABLE "number_of_participants_per_year_and_coun" (
  "country" text,
  "1997" real,
  "1998" real,
  "1999" real,
  "2000" real,
  "2001" real,
  "2002" real,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real,
  "2007" real,
  "2008" real,
  "2009" real,
  "2010" real,
  "2011" real,
  "2012" real,
  "total" real
);

Question: How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?
SQL: SELECT COUNT("2009") FROM "number_of_participants_per_year_and_coun" WHERE "1999"<1 AND "2006">0 AND "1997"<0;

Question: How much is the highest number in 2006 with fewer than 0 in 2002?
SQL: SELECT MAX("2006") FROM "number_of_participants_per_year_and_coun" WHERE "2002"<0;

Question: How many are there in 2003 that have 0 in 2001, more than 0 in 2009 and fewer than 0 in 1999?
SQL: SELECT SUM("2003") FROM "number_of_participants_per_year_and_coun" WHERE "2001"=0 AND "2009">0 AND "1999"<0;

Question: Which country has more than 0 in 2012 and 2009, 0 in 2008 and more than 0 in 2004?
SQL: SELECT "country" FROM "number_of_participants_per_year_and_coun" WHERE "2012">0 AND "2009">0 AND "2008"=0 AND "2004">0;