1. MySQL Query to obtain emissions output by pollutant in tons/day by zone:

   For 2014, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74 FROM customdomain2014_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid

   For 2014, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74 FROM customdomain2014_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid

   For 2030, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74 FROM customdomain2030_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid
   
   For 2030, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74 FROM customdomain2030_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid


2. MySQL Query to obtain emissions output by pollutant in tons/day aggregated over region:	

   For 2014, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74 FROM customdomain2014_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid

   For 2014, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74 FROM customdomain2014_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid

   For 2030, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74 FROM customdomain2030_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid
   
   For 2030, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74 FROM customdomain2030_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid


3. MySQL Query to obtain emissions output by pollutant in tons/year by zone:

   For 2014, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74*342 FROM customdomain2014_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid

   For 2014, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74*342 FROM customdomain2014_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid

   For 2030, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74*342 FROM customdomain2030_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid
   
   For 2030, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, zoneid, sum(emissionQuant)/907184.74*342 FROM customdomain2030_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid, zoneid


4. MySQL Query to obtain emissions output by pollutant in tons/year aggregated over region:	

   For 2014, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74*342 FROM customdomain2014_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid

   For 2014, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74*342 FROM customdomain2014_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid

   For 2030, 2 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74*342 FROM customdomain2030_2co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid
   
   For 2030, 13 county: SELECT movesrunID,yearid, countyid, pollutantid, sum(emissionQuant)/907184.74*342 FROM customdomain2030_13co_out4142.movesoutput m where pollutantid in(3,87) group by MOVESRUnid, pollutantid


 