Group by database and add mysql