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