Table: renewable_spain
Columns: autonomous_community
hydroelectric_power
wind_power
solar_power
biomass_power
solid_waste_power
total_renewable_generation
total_electricity_demand
renewable_of_total_electricity_demand

Question: How many communities had a total renewable generation of 1375?
SQL: SELECT COUNT("autonomous_community") FROM renewable_spain WHERE "total_renewable_generation" = 1375

Question: What is the total demand for electricity when the demand for renewable electricity demand is 2.2%?
SQL: SELECT "total_electricity_demand" FROM renewable_spain WHERE "renewable_of_total_electricity_demand" = '2.2%'

Question: What is the lowest numbered hydroelectric power when the renewable electricity demand is 21.5%?
SQL: SELECT MIN("hydroelectric_power") FROM renewable_spain WHERE "renewable_of_total_electricity_demand" = '21.5%'

Question: What is the community with a wind power of 1042?
SQL: SELECT "autonomous_community" FROM renewable_spain WHERE "wind_power" = 1042