Možná takhle:
select * from tabulka t where t.typ = "KK" and exists (select * from tabulka t2 where t2.name = t.name and t2.pom > t.pom and t2.hod > 0)
Možná takhle:
select * from tabulka t where t.typ = "KK" and exists (select * from tabulka t2 where t2.name = t.name and t2.pom > t.pom and t2.hod > 0)