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.cnblogs.com/hoge66/p/9363955.html
今日推荐