I want to make a "choice" in MySQL using the "LIKE" operator.
But I do not want to use the text as a comparison factor. I want to compare text between two fields in one table, for example:
SELECT field1, field2 FROM table WHERE field2 LIKE% field1%;
Is it possible?
source
share