$query = 'select x.hbaslik,y.id,count(id) as top from haber x,yorum y where y.sayfa="haber" && y.onay="EVET" && x.haberno=y.id group by y.id order by top desc/asc';

şu şekilde olur herhalde...