CREATE TABLE "electricity_production_by_renewables_in_" (
  "power_source" text,
  "number_of_generators" real,
  "power_capacity_gw" text,
  "pct_of_total_capacity" text,
  "capacity_factor" text,
  "annual_energy_billion_k_wh" text,
  "pct_of_annual_production" text
);

Question: What is the power capacity when the generators were 781?
SQL: SELECT "power_capacity_gw" FROM "electricity_production_by_renewables_in_" WHERE "number_of_generators"=781;

Question: What is the percentage of total capacity when the energy is 120.2?
SQL: SELECT "pct_of_total_capacity" FROM "electricity_production_by_renewables_in_" WHERE "annual_energy_billion_k_wh"='120.2';

Question: What is the % of annual production of solar?
SQL: SELECT "pct_of_annual_production" FROM "electricity_production_by_renewables_in_" WHERE "power_source"='Solar';

Question: What is the number of generators where the power capicity is 78.7?
SQL: SELECT COUNT("number_of_generators") FROM "electricity_production_by_renewables_in_" WHERE "power_capacity_gw"='78.7';

Question: What is the % of total capacity when the generators is 4048?
SQL: SELECT "pct_of_total_capacity" FROM "electricity_production_by_renewables_in_" WHERE "number_of_generators"=4048;