mysql-使用MYSQL实现oracle start with connect by递归树查询
程序员文章站
2022-04-10 10:29:41
...
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)
不要沉啊!
上一篇: thinkphp发邮件失败原因