select * from table where (rtrim(name) as name,rtrim(id) as id, rtrim(csrq) as csrq) in (('name1','id1','csrq1'),('name2','id2','csrq2'))试试这样的写法,去掉空格是rtrim
多个字段用in,需要分开写,用and或者or连接起来.
select * from table where (trim(name),trim(id), trim(csrq)) in (('name1','id1','csrq1'),('name2','id2','csrq2'))这样试试,你的错误信息是什么?