You are using safe update mode and you tried to update a table--mysql

SET SQL_SAFE_UPDATES = 0;
delete from cms_article_data where id in(
SELECT id FROM jeesite.cms_article where category_id=7);
SET SQL_SAFE_UPDATES = 1;

www.beicaiduo.com
原文地址:https://www.cnblogs.com/hoge66/p/9363955.html