数据库
create temporary table t2
select min(id)
from mycontent
group by download_link;
错误 1205 (HY000):超过锁定等待超时;尝试重启交易
最佳答案
当您尝试从中选择时,您的 mycontent
表可能被其他事务锁定。
关于sql - 为什么这个 MySQL 查询不起作用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4081663/