I have a table tb1(item, status), status is varchar(50). For instance,
item status
item1 abc
item2 a
item3 ed
item4 ca
I need to write a query to select those items whose status has a value that is any of (‘b’, ‘d’, ‘f’). So the result should be item1, item3. How do I write a query to split the column status?
SQL Fiddle Example