次の 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);
ありがとうございました。