Anda menginginkan sesuatu seperti
select a.id as child_id, a.name as child_name,
b.id as parent_id, a.name as parent_name
from forum_categories a
inner join forum_categories b
on a.parent_id = b.id
Untuk membatasi ke id Anda yang dikenal, tambahkan
where a.id = knownid