select f.id, f.name, p.id as headId, p.name as head, lft, rgt from families f join people p on f.person_id = p.id where f.id = 1