Select b,c from 表 where A<> 0 group by b,c

解决方案 »

  1.   

    select 字段B,字段C from xx where 字段A<>0 group by 字段B,字段C
      

  2.   

    如:select 字段B,字段C from xx group by 字段a<>0,字段B,字段C
    这样可不可以?
      

  3.   

    select 字段B,字段C from xx  group by 字段B ,字段C order by 字段a
    这样可不可以?
      

  4.   

    select 字段B,字段C from xx where 字段a<>0 group by 字段a,字段B,字段C
      

  5.   

    select A, B, C from table where A<>0 group by A,B,C.....