select * from 表1 a join 表2 b on a.ProductType = b.ProductType

解决方案 »

  1.   

    select a.*,b.* from 表1 a join 表2 b on a.ProductType=b.ProductType where a.ProductType in (条件) and b.ProductType in (条件)
      

  2.   

    select a.*,b.* from Buy_Listing a join Supply_Listing b where a.Details like '%笔记本%' and b.Details like '%笔记本%' order by a.UpdateTime desc,a.Weight asc,b.UpdateTime desc,b.Weight asc
    怎么不可以呢???
    另外就是ProductType在两个表中的内容是不一样的阿!
      

  3.   

    jion  on   不是  jion   where