![]() |
Mysql语句中查询字段中大于某个数且小于某个数之间的条件怎么设定
如我要查大于10000的数据就是SELECT * FORM tables WHERE price > 10000;小于10000就是SELECT * FORM tables WHERE price > 10000;现在我要查 大于1000小于2000的,就是 1000<price<2000怎么查?
|
SELECT * FORM tables WHERE price > 10000 and price < 20000
|
| All times are GMT +8. The time now is 11:27 PM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.