怎么样可以不读出两个表里面的相同值? select id from p1 where not exists(select id from p2) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select p1.* from p1 left join p2 on p1.id=p2.id where p2.id is null 莱手报道:能这样写吗 select p1.id,p2.id from p1,p2 where p1.id !=p2.id 多谢指教 莱手报道:能这样写吗 select p1.id,p2.id from p1,p2 where p1.id !=p2.id 多谢指教------------------不行,select id from p1 where not exists(select id from p2) select id from p1 where not exists(select id from p2) select id from p1 where id not in (select id from p2) 请教一下关于SQL变量的小数问题 两个select的问题 数据库不一致问题 数据库运行了一个周,期间添加了很多数据,但没有作备份,今天一同事不小心用一周前的最原始版本备份还原了一个,我怎么样才找到这一个周的数据?? 怎样用BUILTIN\Administrator登陆服务器,创建一个登陆用户!! 我的sql2005安装部分是英文的 以ID分组,取当前ID相关字段 关于排名问题!!!(急) 面试问题,大家试试看 有这样一个问题 如何将sqlserver2000中的数据导成powerdesigner的概念模型? 如何建立数据库用户
------------------
不行,
select id from p1 where not exists(select id from p2)