CREATE TABLE "cost_per_kilowatt_hour_us_cents_k_wh" (
  "20_years" text,
  "2400_k_wh_k_w_p_y" real,
  "2200_k_wh_k_w_p_y" real,
  "2000_k_wh_k_w_p_y" real,
  "1800_k_wh_k_w_p_y" real,
  "1600_k_wh_k_w_p_y" real,
  "1400_k_wh_k_w_p_y" real,
  "1200_k_wh_k_w_p_y" real,
  "1000_k_wh_k_w_p_y" real,
  "800_k_wh_k_w_p_y" real
);

Question: What is the 2000 kwh p y with a 2400 kwh/kw p y less than 12.5, a 3.8 1600 kwh/kw p y, and a 1800 kwh/kw p y less than 3.3?
SQL: SELECT MAX("2000_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "2400_k_wh_k_w_p_y"<12.5 AND "1600_k_wh_k_w_p_y"=3.8 AND "1800_k_wh_k_w_p_y"<3.3;

Question: What is the total number of 1800 kwk/kw p y with an 8.8 1600 kwh/kw p y, and a 1200 kwh/kw p y greater than 11.7?
SQL: SELECT COUNT("1800_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "1600_k_wh_k_w_p_y"=8.8 AND "1200_k_wh_k_w_p_y">11.7;

Question: What is the average 800 kwh/kw p y with a 1600 kwh/kw p y less than 6.3 and a 2000 kwh/kw p y less than 1?
SQL: SELECT AVG("800_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "1600_k_wh_k_w_p_y"<6.3 AND "2000_k_wh_k_w_p_y"<1;

Question: What is the average 2400 kwh/kw p y with a 1400 kwh/kw p y greater than 12.9, a 1200 kwh/kw p y greater than 21.7, and a 1600 kwh/kw p y greater than 18.8?
SQL: SELECT AVG("2400_k_wh_k_w_p_y") FROM "cost_per_kilowatt_hour_us_cents_k_wh" WHERE "1400_k_wh_k_w_p_y">12.9 AND "1200_k_wh_k_w_p_y">21.7 AND "1600_k_wh_k_w_p_y">18.8;