Table: vehicle_emissions
Columns: vehicle
operating_mode
epa_rated_all_electric_range
epa_rated_combined_fuel_economy
clean_electric_grid_california_san_francisco
u_s_national_average_electric_mix
dirty_electric_grid_rocky_mountains_denver

Question: What is the epa rated combined fuel economy for the Nissan Leaf?
SQL: SELECT "epa_rated_combined_fuel_economy" FROM vehicle_emissions WHERE "vehicle" = 'Nissan Leaf'

Question: What is the operating mode of the Coda?
SQL: SELECT "operating_mode" FROM vehicle_emissions WHERE "vehicle" = 'Coda'

Question: What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)?
SQL: SELECT "dirty_electric_grid_rocky_mountains_denver" FROM vehicle_emissions WHERE "clean_electric_grid_california_san_francisco" = '160 g/mi (99 g/km)'

Question: How many dirty electric grid rocky mountains (denver) vehicles have an  epa rated combined fuel economy of 102 mpg-e (33kw-hrs/100mi)?
SQL: SELECT COUNT("dirty_electric_grid_rocky_mountains_denver") FROM vehicle_emissions WHERE "epa_rated_combined_fuel_economy" = '102 mpg-e (33kW-hrs/100mi)'

Question: What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)?
SQL: SELECT "epa_rated_combined_fuel_economy" FROM vehicle_emissions WHERE "operating_mode" = 'All-electric' AND "dirty_electric_grid_rocky_mountains_denver" = '330 g/mi (205 g/km)'

Question: How many clean electric grid california (san francisco) figures are given for the Nissan Leaf?
SQL: SELECT COUNT("clean_electric_grid_california_san_francisco") FROM vehicle_emissions WHERE "vehicle" = 'Nissan Leaf'