I\'m trying to write a Select statement where I can see if one column is like part of another.
tblNames ID FullName FirstName 1 Mr.
This worked for me:
SELECT * FROM `table` WHERE `col1` NOT LIKE CONCAT('%', `col2`, '%')
Found it here: http://www.edmondscommerce.co.uk/mysql/compare-two-columns-in-mysql/
Somehow it only worked correctly with the concat-function (?).