CREATE TABLE "irrigation_infrastructure" (
  "department" text,
  "micro_10ha" real,
  "small_100ha" real,
  "medium_500ha" real,
  "big_500ha" real,
  "total" real
);

Question: How many Small catagories are there for the department that has a medium of 17101? 
SQL: SELECT COUNT("small_100ha") FROM "irrigation_infrastructure" WHERE "medium_500ha"=17101;

Question: What is the total for Chuquisaca?
SQL: SELECT "total" FROM "irrigation_infrastructure" WHERE "department"='Chuquisaca';

Question: Which department has a small of 11370? 
SQL: SELECT "department" FROM "irrigation_infrastructure" WHERE "small_100ha"=11370;

Question: How many total catagories are there for La Paz? 
SQL: SELECT COUNT("total") FROM "irrigation_infrastructure" WHERE "department"='La Paz';

Question: What is the largest micro when the big is 1080? 
SQL: SELECT MAX("micro_10ha") FROM "irrigation_infrastructure" WHERE "big_500ha"=1080;