If I wanted to check if a certain field contains certain value, and return "yes" or "no", what would be the appropriate query?