我知道可以通过禁用安全更新模式来解决。但是没有禁用它可能吗?
我正在处理的代码:
DELETE FROM product
WHERE product_key IS NOT NULL
AND collection = "RR12";
答案 0 :(得分:0)
Without a primary key, you'll need to provide additional criteria to ensure you delete the appropriate record.
您可以使用where子句执行此操作,但在我看来,使用主键是最好的方法