select bm from sell group by bm having count(bm)>1

解决方案 »

  1.   

    select bm,count(bm) group by bm
    where count(bm)>1
      

  2.   

    select bm,count(bm) from bm group by bm having count(bm)>1
    绝对可用,已经测试过
      

  3.   

    在查询字段前加  DISTINCT
      

  4.   

    select DISTINCT bm from sell where (bm in (select bm from sell group by bm having count(*)>1 ))
      

  5.   

    select distinct bm from sell where bm in (select bm from sell group by bm having count(*)>1)
      

  6.   

    select bm from sell group by bm having count(*)>1
      

  7.   

    select bm from sell group by bm having count(bm)>1
      

  8.   

    SELECT DISTINCT bm
    FROM sell
      

  9.   

    SELECT DISTINCT bm FROM sell where bm in (select bm from sell group by bm having count(*)>1)
      

  10.   

    简单的一句就行了.
    select bm from sell group by bm having count(bm)>1