select * from table where XXXXX like '[a-c]%'

解决方案 »

  1.   

    select * from table where XXXXX like '[x-z]%'
      

  2.   

    select * from table1 where charindex("col1",'a')=1 or charindex("col1",'b')=1 or charindex("col1",'c")=1select count(*) from table1 where charindex("col1",'a')=1
    select count(*) from table1 where charindex("col1",'b')=1
    select count(*) from table1 where charindex("col1",'c")=1
    献丑了
      

  3.   

    我还没用过这种呢
    select * from table1 where col1 like '[x-z]%'
      

  4.   

    select count(*) from table1 where col1 like '[x-z]%'
      

  5.   

    谢谢!
     to: btut2004(《电子产品世界》程序员 不对阿.
     to: yjzhg(执著) 可以用