mysql中You can't specify target table for update in FROM clause错误

前端之家收集整理的这篇文章主要介绍了mysql中You can't specify target table for update in FROM clause错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

sql

delete from DEP_SYSTEM_PORTLET_SETTINGS where ID in (
        select ID from
        DEP_SYSTEM_PORTLET_SETTINGS 
        group by (USER_ID) HAVING count(USER_ID) >1
)

修改


        ) C
)

 

猜你在找的MySQL相关文章