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