Hi, this is probably not the place to ask this, but I think this is a pretty simple question but I can't figure out the right search terms to search this.
I have a query like this :
SELECT * FROM table WHERE column LIKE IN (val1, val2, val3, ...)
How can I return the matching LIKE clause with the query itself ? like this :
SELECT *, (val1 or val2 or val3- the matched val) FROM table WHERE column LIKE IN (val1, val2, val3, ...)