求一条SQL语句 select distinct * from tb1 a where exists(select 1 from tb2 where a.emp_id=emp_id) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select distinct * from tb1 a where exists(select 1 from tb2 where a.emp_id=emp_id) select emp_id,emp_name,emp_card,start_datefrom TB1where emp_id in (select distinct emp_id from TB2);这样写也可以.呵呵. Oracle 问题求解.................. 如何对数据库数据进行监控 求oracle Procedure 例子 如何让orcle10g安装不与IP挂钩 [急!在线等!] 游标的更新问题,请高手们进来看看,十万火急!!!救命啊~!!!! 调用write时参数数量或者类型错误 有没有一个命令,可以从文本文件中装载数据到数据库的? 如何在值是null 时,把它当零相加?或不加 问一个查询的问题 Oracle 对同一条记录并发执行for update 关于IF判断的问题 oracle数据库图片的存取
from TB1
where emp_id in
(select distinct emp_id
from TB2);
这样写也可以.呵呵.