解决方案 »

  1.   

    select * from 产品表 a
    where exists (select 1 from 产品属性表 where b_id=@xxx and c_id=@yyy)
    and  exists (select 1 from 产品属性表 where b_id=@xxx2 and c_id=@yyy2)
    and  exists (select 1 from 产品属性表 where b_id=@xxx3 and c_id=@yyy3)
      

  2.   

    我开始用exists  and  exists这个测试老报错,就放弃了,我再测下,还有没有其他的方法
      

  3.   

    贴建表及插入记录的SQL,及要求结果出来看看