How do I check if string value in one column is partially contained in string value of another column using SQL?
If I had to check if col_1 column of tbl table contains
SELECT * FROM tbl WHERE col_1 LIKE '%'+col_2+'%'
EDIT: For MySQL, the equivalent syntax would be:
SELECT * FROM tbl WHERE col_1 LIKE CONCAT('%',col_2,'%')