Неверный запрос select tree.title, tc.idtree, tc.ord from tc,tree where tc.idcontent=1406 AND tree.id=tc.idtree order by tc.ord