关于 mysql 中的 In 子句 (4.1 中没有这种功能) 该怎么做呢?
如下语句 来自 mysql 5.0
select ac.acid as e_value,concat(host_ip,'::',property) as e_key
from acl_client as ac where is_disabled = '0' and
ac.acid not in (select acid from acl_manager_clnt where amid=2)
现在想将其 运行在mysql 4.1中
如何写呢?
方案一:
如果是 in ,
将子句中首先select 出来,然后 用 = , union 即可!
但这儿是not in 不知怎么写?
先谢谢了!