select * from haberler,kategori where haber.aktif='2' order by haber.kategori asc group by kategoriadi limit 15

gibi bişey dene yer sanırım