select * from A
where exist (select a from B where a=A.a);
查询两标中a字断相同的记录。
where exist (select a from B where a=A.a);
查询两标中a字断相同的记录。
解决方案 »
- Oracle求救。。增删改查
- 如何根据oracle的主键获取表的关联关系?
- 100分!oracle服务自动停止的问题
- 请高手指点迷津:后台数据库的安全和备份问题
- 有无等价SQL SERVER的语句:select convert(varchar(20),getdate(),120),convert(varchar(20),dateadd(mi,30,getdate()),120)
- 我今年毕业,现在有间公司请我去当oracle的DBA,不知道这个职位的前途怎么样呢?
- oracle817在WIN2000的问题
- 请教存储过程调用方法
- 导出数据问题
- 两个数据库实例,一个正常连接,另一个ora-12523
- 如何导数据快
- 表的连接问题
cou_num number;
begin
select count(*) into cou_num from table_name where cond;
if(cou_num>0)
delete...
end if;
end;