首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

数据库的有关问题,

2012-04-09 
数据库的问题,在线等;selcet target from r_c_e_h20111205 t where call_type1 not in (selcet call_nu

数据库的问题,在线等;
selcet target from r_c_e_h20111205 t where call_type='1' not in (selcet call_number from d_areacfg);
请问下这句话有什么错误。这句话就是说在r_c里面找在d_里面没有的数据;

[解决办法]
少了and:

SQL code
selcet target from r_c_e_h20111205 t where call_type='1' and not exists (selcet call_number from d_areacfg); 

热点排行