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;