I was trying to figure out how can I set multiple parameters for the IN
clause in my SQL query using PreparedStatement
.
For example in this SQL statement, I'll be having indefinite number of ?
.
select * from ifs_db where img_hub = ? and country IN (multiple ?)
I've read about this in PreparedStatement IN clause alternatives?
However I can't figure it out how to apply it to my SQL statement above.