Hi…
I want to check 2 or 3 strings in mysql column by using the select statement.
I tried
select * from color_table where color IN (‘red’,‘green’,‘blue’);
Will help me?
Hi…
I want to check 2 or 3 strings in mysql column by using the select statement.
I tried
select * from color_table where color IN (‘red’,‘green’,‘blue’);
Will help me?
That’s the way to do it.
Do you get an error? Or results you didn’t expect?