帮忙写个select语句 有一表有两字段,两条记录,如1,a, 2,b,另一表有一个字段,一条记录,1,其中1与1关联,要求显示2,b这条记录,请问这条SQL语句如何写,谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.* from a where not exists(select 1 from b where a.col1=b.col1) select a.* from a where not exists(select 1 from b where a.col1=b.col1) select tb1.* from tb1 where not exists (select 1 from tb2 where tb1.col=tb2.col) select tb1.* from tb1 where not exists(select 1 from tb2 where tb1.col=tb2.col) select a.* from a where not exists(select NULL from b where a.col1=b.col1) select语句中and和or的用法? 求sql目录树的取值 急求,解决给高分 在sql server中like的参数化比直接调用慢,为什么 Lost connection to MySQL 有谁知道用这个存贮过程如何新建一个WINDOWS管理员帐号?邹大哥帮忙看看 求Help~有一定难度~明天回家 今天散分了·· 多媒体数据库有哪些呢? 为什么我没有权限访问表 SQLSERVER中怎么使用数据字典来建表? QSL数据库查询语句 条件部分的执行顺序
select a.* from a
where not exists(select 1 from b where a.col1=b.col1)
select a.* from a where not exists(select NULL from b where a.col1=b.col1)