在sql语句中怎么表达"大于等于"的意思??例如我想查询bianhao "大于等于" 100的情况、、应该怎么写?这么写出错了:(select * from table1 where bianhao>=100谢谢!!

解决方案 »

  1.   

    bianhao数据型
    select * from table1 where bianhao>=100
    bianhao字符型
    select * from table1 where bianhao>='100'
      

  2.   

    你的select * from table1 where bianhao>=100中
    table1是不是Table1控件的Name,
    应该改为数据库中的表名,如Student
      

  3.   

    你的编号是字符串吧?
    sql.text:='select * from table1 where bianhao>=''100'''
      

  4.   

    bianhao字符型
    select * from table1 where bianhao>'100' or bianhao='100'bianhao数据型
    select * from table1 where bianhao>=100