更新时间:2023-02-26 16:21:05
代码似乎不正确...您有 ...WHERE (SELECT...)
什么地方?
The code doesnt appear to be correct ... you have ...WHERE (SELECT...)
WHERE what?
你确定你不是在追求
SELECT MyCols FROM MyTable WHERE ID IN (...)
或
SELECT MyCols FROM MyTable WHERE ID NOT IN (...)
其中 (...)
代表另一个返回某种 ID 的选择.
Where (...)
represents another select returning some sort of ID.
否则当然会超时.该选择可能会返回一个计数,WHERE 1
可以继续……
Otherwise of course you'd get a timeout. That select may return a count and WHERE 1
can go on and on and on...