Table: pv_system_production_2
Columns: 20_years
2400_kwh_kw_p_y
2200_kwh_kw_p_y
2000_kwh_kw_p_y
1800_kwh_kw_p_y
1600_kwh_kw_p_y
1400_kwh_kw_p_y
1200_kwh_kw_p_y
1000_kwh_kw_p_y
800_kwh_kw_p_y

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_kwh_kw_p_y") FROM pv_system_production_2 WHERE "2400_kwh_kw_p_y" < 12.5 AND "1600_kwh_kw_p_y" = 3.8 AND "1800_kwh_kw_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_kwh_kw_p_y") FROM pv_system_production_2 WHERE "1600_kwh_kw_p_y" = 8.8 AND "1200_kwh_kw_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_kwh_kw_p_y") FROM pv_system_production_2 WHERE "1600_kwh_kw_p_y" < 6.3 AND "2000_kwh_kw_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_kwh_kw_p_y") FROM pv_system_production_2 WHERE "1400_kwh_kw_p_y" > 12.9 AND "1200_kwh_kw_p_y" > 21.7 AND "1600_kwh_kw_p_y" > 18.8