两个约束条件如何取交集??
swaye 2005-02-05 11:23:40 取交集一般是: select * from table1 where exist (select * from table2 where column1='XXX')
但是用 select * from table1 where column2 ='YYY' exist (select * from table2 where column1='XXX')
就不能运行了,where exist不能分开,那怎么办呢,不想用临时表.