これが私の更新クエリです:
UPDATE products
SET products_status = 0
WHERE (`products`.`products_id` = `products_to_categories`.`products_id`
and `products_to_categories`.`categories_id` = 114)
私が得ているエラーは次のとおりです。
1054-'where句'の不明な列'products_to_categories.products_id'
しかし、products_to_categoriesテーブルに移動すると、products_id列があります。
私は何が間違っているのですか?