In my database I have a column where the value is separated by a comma (firstname,lastname
).
I am trying to search this entire field in where clause using like condition.
I have tried this:
SELECT fullname
from users
where ( upper( fullname ) like upper('abc, xyz'))
I have used regexp_like instead of only like and it worked for me.