Adds query to pull out all the community abundance data by class.