testing query database forbase for single emotion