Неверный запрос select title,comment,idparent,path from tree where id=237 order by ord