Question: When BMW ActiveE is the vehicle type how many clean electric grid california (san francisco) measurements are there?
SQL: SELECT COUNT("Clean electric grid California (San Francisco)") FROM "1-23840623-4" WHERE "Vehicle" = 'BMW ActiveE';

Question: When 102 mpg-e (33kW-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type? 
SQL: SELECT "Vehicle" FROM "1-23840623-4" WHERE "EPA rated combined fuel economy" = '102 mpg-e (33kW-hrs/100mi)';

Question: When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there?
SQL: SELECT COUNT("Vehicle") FROM "1-23840623-4" WHERE "Clean electric grid California (San Francisco)" = '100 g/mi (62 g/km)';

Question: When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?
SQL: SELECT "U.S. national average electric mix" FROM "1-23840623-4" WHERE "Dirty electric grid Rocky Mountains (Denver)" = '380 g/mi (236 g/km)';

Question: When BMW ActiveE is the vehicle type what is the u.s national average electric mix?
SQL: SELECT "U.S. national average electric mix" FROM "1-23840623-4" WHERE "Vehicle" = 'BMW ActiveE';

Question: When  87 mpg-e (39kW-hrs/100mi) is the  epa rated combined fuel economy how many operating modes are there?
SQL: SELECT COUNT("Operating mode") FROM "1-23840623-4" WHERE "EPA rated combined fuel economy" = '87 mpg-e (39kW-hrs/100mi)';