select * From skywftask_all where instanceid
not in (Select wfinstanceid From aleave_register ) 但是由于笔误 写成了select * From skywftask_all where instanceid
not in (Select instanceid From aleave_register ) 结果没有报错 (aleave_register里面是没有instanceid这个字段的)
事实上单独执行Select instanceid From aleave_register 是有错的!
请问为什么?
not in (Select wfinstanceid From aleave_register ) 但是由于笔误 写成了select * From skywftask_all where instanceid
not in (Select instanceid From aleave_register ) 结果没有报错 (aleave_register里面是没有instanceid这个字段的)
事实上单独执行Select instanceid From aleave_register 是有错的!
请问为什么?
是不是你服务器缓存了。
select * From skywftask_all where instanceid
not in (Select instanceid From aleave_register )
在查询分析器中运行看看
F5运行就会错的.