select 品牌,产品 from 产品表 where 品牌=@品牌

解决方案 »

  1.   

    select * from 产品表 where 品牌='xx'
      

  2.   

    select  *  from  产品表  where  品牌='xx'
      

  3.   

    select 品牌,产品 from 产品表
      

  4.   

    select 品牌,产品 from 产品表 order by 品牌,产品
      

  5.   

    select 产品 from 产品表 where 品牌 in(select 品牌 from 品牌表)
      

  6.   

    ???
    select 产品 from 产品表 where 品牌 in(select 品牌 from 产品表)
      

  7.   

    select * from 产品表 where 品牌='xx'
      

  8.   

    select 产品 from 产品表 where 品牌 in(select distinct 品牌 from 产品表)