select tyep,id,CountNum=sum(CountNum),ListenNum=sum(ListenNum)
from t
group by tyep,id