select * from HouseBuy where
F_Price_From >=@StartPrice and F_Price_To<=@EndPrice)
应该是可以的吧
F_Price_From >=@StartPrice and F_Price_To<=@EndPrice)
应该是可以的吧
解决方案 »
- 在线急等:跪求一段时间序列查询SQL,具体描述如下:(看见此帖的朋友点进来看看)
- 创建自定义控件,页面脚本检查为何始终返回false.
- 麻烦大家提供一份论坛的源码~~!谢谢了~!
- 请问怎么判定数据库中不存在某列??
- aspx中选择不同的静态页面
- 怎样用javascript调用.cs中的方法
- DATAGRID模板列中按钮响应自身ONCLICK
- varchar 值 '20080114156' 的转换溢出了 int 列。超出了最大整数值。(好奇怪呀,高分求答案)
- 无刷新加载页面---这种形式能实现吗?
- CSS+DIV怎么分列??
- asp.net 连接Oracle出现ORA-12154:TNS:无法处理服务名错误
- 网页大小的设置
select * from HouseBuy where
(F_Price_From between @StartPrice to @EndPrice)
and (F_Price_To between @StartPrice to @EndPrice)
start end
100 200输入start end
50 100
20 150
20 200
120 200
200 260 都可以
但是输入
10 99
201 202 就不行了,怎么写啊?
F_Price_From >=@StartPrice and F_Price_To<=@EndPrice
数码错误啊
start end
100 200但是输入
10 99
201 202 就不行了,怎么写啊?
、、、、、、、、、、
应该查到的内容为空吧