select * from table where columnA = ? and columnB = ?
答案 0 :(得分:0)
这是解决方案
select * from table where
(columnA = 1 and columnB = 'a') OR
(columnA = 2 and columnB = 'b') OR
(columnA = 3 and columnB = 'c')
答案 1 :(得分:0)
好的,我找到了答案。
select * from table where (columnA, columnB) in ?
虽然参数应该是((1,' a'),(2,' b'),(3,' c'),... 。)
谢谢大家。