首页 > 数据库 > Oracle > sql -表的嵌套查询
例要查询一个
不含某数据的其他数据集合
select * from tab-A where a not in ( select a from tab-A where a ='XX')
关键是要写括号中嵌套表的a,
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/572276/viewspace-905957/ ,如需转载,请注明出处,否则将追究法律责任。