1. Create a new dynamic Constituent query.
2. In Criteria, expand Primary Alumni Information and select Degree.
3. Set operator to desired option.
4. Add any desired Output to view results as desired.