在JE里面找到了一个牛人的例子,感谢那位朋友,放上源代码,供大家参考 select * from t_xwr_inv_stock_info start with id=7 connect by prior id=pid;