Home >Database >Mysql Tutorial >mysql-使用MYSQL实现oracle start with connect by递归树查询
mysql递归oracle
代码如下,如何修改,感谢
DELETE FROM SFL_YWZYFL WHERE YWZYFL_ID IN (SELECT YWZYFL_ID FROM SFL_YWZYFL START WITH YWZYFL_ID IN(:ids) CONNECT BY PRIOR YWZYFL_ID=SFL_YWZYFL_ID)
不要沉啊!