使用此查询使查询为空。数据库中有对接数据
select * from applies_jobs where appid like '%RAD-0001%' and job_id IN ('41,48,49') order by id asc
如果我只使用或类似查询,它可以正常工作。
答案 0 :(得分:0)
试试这个:
select * from applies_jobs where appid like '%RAD-0001%' and job_id IN ('41','48','49') order by id asc
在IN中使用分隔值
答案 1 :(得分:0)
试试这个,删除单个qoutes为整数值
select * from applies_jobs where appid like '%RAD-0001%' and job_id IN (41,48,49) order by id asc