联系官方销售客服
1835022288
028-61286886
关于筛选,区间筛选如何使用 http://127.0.0.1/index.php?s=news&c=search&catid=9&csb=1,2 搜索参数csb=1,2 打印的sql为 SELECT `dr_1_news`.`id` FROM `dr_1_news` WHERE `dr_1_news`.`catid`=9 AND `dr_1_news`.`id` IN (SELECT `id` FROM `dr_1_news_category_data` WHERE (`dr_1_news_category_data`.`csb`="1,2")) ORDER BY NULL sql中条件 csb=1,2 我希望的是 `dr_1_news_category_data`.`csb` BETWEEN 1 AND 2 怎么才能产生这样的sql