select t.dianbiao_id,sum(t.nh_bili)
from p_db_nhpz t 
where t.shangji_bianma is null
group by t.dianbiao_id
having (sum(t.nh_bili) = 200)