你好男孩和女孩:)
我有这个查询:
SELECT * FROM customer
INNER JOIN address ON customer.customer_id = address.customer_id
WHERE address.country_id = 176
所以我想更新custome.status
到 0 我尝试使用该查询但“0 行受影响”:
UPDATE customer
INNER JOIN address ON customer.customer_id = address.customer_id
SET customer.status = 0
WHERE address.country_id = 176
我有大约 200 个地址.country_id = 176 的人!
任何想法,谢谢你!