where Price>5
原谅我没看懂

解决方案 »

  1.   

    你查询[Price]  > 5
    SELECT * FROM [A] WHERE [Price] > 5如果你想查询[Price]  <  5 
    SELECT * FROM [A] WHERE [Price] < 5
      

  2.   

    我是想查Price的最小值 都还要小于 5的数据
      

  3.   

    select * from A where Price(min)<5
    我的意思是这个,只是不知道怎么表述清楚了,请见谅
      

  4.   

    select count(*) from T_A where Price<=5select * from T_A where Price< (select MIN(Price) from T_A where Price>5)
      

  5.   

    select count(*) from T_A where Price<5
    这么查就行了
    返回项大于0,就说明5要高于历史最低价格。反之低于
      

  6.   

    查询大于5的集合:
    SELECT  * FROM A WHERE PRICE >5查询大于5的记录数:
    SELECT COUNT(*) FROM A WHERE PRICE>5
      

  7.   

    select  min(Price) from A  这就查出来最小的那条数据 然后你再用最新输入的值去比较这个结果,if(值<sql语句) {提示信息}
      

  8.   

    select min(price) from table where price < 5
      

  9.   

    2种办法
    1.SELECT  min(price) FROM A
    然后去跟5做比对
    2.SELECT COUNT(*) FROM A WHERE PRICE<5
    如果为0,说明没有比5小的数据
      

  10.   

    select min(price)
    from 表名
    having min(price) <5