I have the following query:
So I'm trying to select all rows where username is 'username1', 'username2' and some more. Now I would like to do this using a PreparedStatement. But how do I set multiple fields? as the part 'IN (...)' has a flexible number of elements.Code:
SELECT * FROM bla WHERE username IN ('username1', 'username2', ...)
How do I do this?