asp 在一个表中怎么循环查找符合条件的记录 例如一个表中有price字段 怎么查找 100-199 200-299 300-399 符

符合条件的记录呢 ACCess 数据库
2025-05-17 22:03:50
推荐回答(1个)
回答1:

select * from [tablename] where
(price>=100 and price<=199) or
(price>=200 and price<=299) or
(price>=300 and price<=399)
是这意思吗?