请教,一句SQL语句,判断是否有满足条件的记录。判断A表中有满足condition的记录怎么写。select a.area, a.wg_rcuser, count(wg_code) doingitemcnt from v_qc_statistics a where wg_rctache = 1256 
and not exists (select wg_code from v_qc_statistics b where b.wg_srtache = 1256 and b.wg_sruser = a.wg_rcuser)
 group by area, wg_rcuser
其中,not exists后面挂号中的就是这个需要搞定的,剔除掉满足这样条件的记录