按两个字段进行重复的查询 select * from a where exists(select 1 from b where xm=a.xm and sfzhm=a.sfzhm) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.* from a inner join b on a.xm=b.xm and a.sfzhm=b.sfzhm 写出这样:select * from awhere exists(select 1 from b where a.xm = b.xm and a.sfzhm=b.sfzhm ) 请教诸位,现在SqlServer2008性能和Oracle在一个等级上吗? 临时表插入数据 存储过程中的循环~急~~~~ sql语句执行不了 Mysql数据库数据库插入汉字时报错 如何增加临时列名,急 求一触发器 已知有两台电脑A,B. 分别装有SQL SERVER. 在电脑A上备份数据库mydata ,生成文件mydata.bak。 然后把此文件copy 到B电脑上, 我想用此文件 怎样查找数据库里的所有触发器? 查询结果 sql 数据库问题 【求助】求多表联合查询SQL
where exists(select 1
from b where a.xm = b.xm and a.sfzhm=b.sfzhm )