select * from ac01,ac06 where ac01.aac003 like '%£¨%'
and not (ac01.aac001=ac06.aac001 and ac06.aac071=‘行业’)
and not (ac01.aac001=ac06.aac001 and ac06.aac071=‘行业’)
解决方案 »
- 急!!求解决odbc连接US7ASCII字符集oracle数据库问题方法
- Oracle导入数据库出错,高手请进!!
- 两个数据库之间拷贝表结构和数据
- 一个小问题,马上结贴!!!
- 问一下,Oracle8i是不是没有在线帮助文档?只有从Oracle相关的技术站点或买书才能看到相关的帮助文档?
- 运行Oracle Enterprise Manager Console錯誤
- dos下的sqlplus如何连接数据库,各式应该怎莫写
- UTL_FILE.GET_LINE
- SOS!!!! 简单的建立视图的语句!回答就给分!!!
- 什么叫数据库的挂起?怎么解除?
- 分组取数据问题!!!急!!!
- 100分!新手请教:帮我做一个备的实例(要详细,能运行)(在下等,给分)。
and not exists (select 1 from ac06 where ac01.aac001=ac06.aac001 and ac06.aac071=‘行业’)
and not exists
(select * from ac06 where ac01.aac001=ac06.aac001 and ac06.aac071=‘行业’)
where aac003 like '%£¨%'
AND not exists (
select * from ac06 where ac01.aac001=ac06.aac001 and ac06.aac071=‘行业’)
或者
select * from ac01
where aac003 like '%£¨%'
AND not in(
select aac001 from ac06 where ac06.aac071=‘行业’)
select * from ac01 where aac003 like '%£¨%'
and
not exists
(select ac01.* from ac01,ac06 where ac01.aac001=ac06.aac001 and ac06.aac071=‘行业’)