SELECT movesrunid, pollutantid, yearid, monthid, dayid, scc, SUM(emissionquant)/907184.74 FROM movesoutput WHERE pollutantid IN(3,87) GROUP BY movesrunid, yearid, monthid, dayid, pollutantid, scc ORDER BY movesrunid, pollutantid,yearid,monthid, dayid, scc