select * from a where a.id not in (select aid from b) ----- 这条sql必须保证b表中aid不能有null值,否则查询结果为0
oracle中sql注意事项总结
猜你喜欢
转载自itace.iteye.com/blog/2215136
今日推荐
周排行