摘要: 今天在MySQL中执行删除语句时遇到编译器显示You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column. 参考了网上的博客,解决思路如下: show va 阅读全文
posted @ 2021-05-28 18:40 木析 阅读(292) 评论(0) 推荐(0)
摘要: 原因:mysql不能在同一语句中先select出同一表中的某些值,再对这个表做修改 解决方法:添加临时表 参考:https://blog.csdn.net/baidu456356/article/details/101603359 DELETE FROM Person WHERE Id NOT IN 阅读全文
posted @ 2021-05-28 18:35 木析 阅读(605) 评论(0) 推荐(1)