Put the same query in the select by attributes and create a layer from the selected features.Also, a new field can be added to the annotation before the join is made. Join the feature to the annotation and using the field calculator set the needed joined feature data to be calculated into the new field. The join can be removed and the definition query can be set using that new field.