Один метод использует агрегирование:
select eventid, max(status)
from t
group by eventid
having min(status) = max(status) and min(status) = 'B';
Есть много других способов. Например:
select distinct eventid, status
from t
where not exists (select 1 from t t2 where t2.eventid = t.eventid and t2.status <> 'B');
Или запутанное:
select eventId, status
from t
where status = 'B'
except
select eventId, 'B'
from t
where status <> 'B';