大家看啊,一个NOT IN的问题,帮看看(邹老大有空看看) where aa.col1 not in (select bb.col1 from bb) and aa.col2 not in (select bb.col2 from bb) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以使用聯接﹐而且速度更快﹗select *from aa left join bb on aa.字段1=bb.字段1 and aa.字段2=bb.字段2where bb.字段1 is null or bb.字段2 is null select * from aa where exists(select 1 from bb where aa.字段1=bb.字段1 and aa.字段2=bb.字段2) 可以使用聯接﹐而且速度更快﹗如果是三個字段select *from 表2 left join 表1 on 表2.編碼=表1.編碼 and 表2.顏色=表2.編碼 and 表2.編碼=表2.編碼where bb.字段1 is null or bb.字段2 is null ASP.net 读取MySql 数据出现中文乱码! 创建表时已经声明了是主键,那么还要加NOT NULL吗? 关于insert,update一个问题 数据库技术交流qq群5377655,欢迎高手加入!! Server SQL 查询结果怎么样按自己的要求排序 求助SQL语法(删掉表的内容,保留表的结构) 满足条件的SQL字符串连接问题 高分求助:SQL SERVER的安装问题 请问一个SQL语句,关于Count()的。。。 初来匝道~~~请各位数据库高手到指教!!!!!!!!!!! access里的备注类型,相当于sql server 2000里的什么类型那 怎能设置某一数据不记录日志。
select *from aa left join bb on aa.字段1=bb.字段1 and aa.字段2=bb.字段2
where bb.字段1 is null or bb.字段2 is null
where exists(select 1 from bb where aa.字段1=bb.字段1 and aa.字段2=bb.字段2)
select *from 表2 left join 表1 on 表2.編碼=表1.編碼 and 表2.顏色=表2.編碼 and 表2.編碼=表2.編碼
where bb.字段1 is null or bb.字段2 is null