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