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