select * from tablea where name!= (select name from tableb) and id>3
-------------------------
一列到多列会产生错误~
改为:
select * from tablea where name not in (select name from tableb) and id>3
-------------------------
一列到多列会产生错误~
改为:
select * from tablea where name not in (select name from tableb) and id>3
解决方案 »
- jdbc更新成功返回某列的值
- oracle9i 每天的归档日志太大有20G,哪位帮助下该如何分析原因?
- 关于oracle设计的问题,急!!!
- 子查询很多,怎么优化?
- 角色和用户的问题!送分啊
- 有关用Database Configuration Assistant 新建数据库的问题。
- db_link创建完了,但引用出错。????????
- 如何处理含有动态SQL语句的函数
- oracle中有类似sql Server中top n的函数吗?你们说的rowNum不行,它不是排序后的n行
- oracle菜鸟问题
- 借中秋快来之际,小弟散分50来求助,简单问题,请看!
- intelligent agent 启动不了,高手帮我!
select * from taba a where a.name not exits(select b.name from tabb b where a.name = b.name) and id > 3;