我想使用以下 sql 代码将所有具有相同描述的产品设置为具有指定类别 ID 的产品,但在同一类别下它不会更新具有相同描述的产品。
update catalog_product_entity_text
set value = "the product's name test hah test."
where attribute_id = 66 and
entity_id (select product_id from catalog_category_product
where category_id = 40);
谢谢你。