So far I’m doing it this way:
SELECT * FROM table_name WHERE column in(var1,var2,var3) or column is NULL
I have issues with repeating column name two times here since in() can’t take null as an argument, it returns also no error, just 0 columns. (Maybe some magic variables that can refer last called column ?)
This:
is a string literal, not a column name. So this:
won’t match anything unless
var1,var2, orvar3happen to be the string'column'. Try dropping the quotes on the column name: