解决方案 »

  1.   


    select A.id 产品ID,A.name 产品名称,(select info from B where A.id=B.listid and b.parid=1) 产品型号, 
    (select info from B where A.id=B.listid and b.parid=2) 产品品牌,(select info from B where A.id=B.listid and b.parid=3) 产品价格 from A
      

  2.   

    select A.id 产品ID,A.name 产品名称,(select info from B where A.id=B.listid and b.parid=1) 产品型号, 
    (select info from B where A.id=B.listid and b.parid=2) 产品品牌,(select info from B where A.id=B.listid and b.parid=3) 产品价格 from A
      

  3.   

    Quote: 引用 4 楼 benluobobo 的回复:
    简单,有效!3Q。