I have to compare two columns and be able to extract only rows where there is not even a partial match between strings. For example, I have this table:
| Col1 | Col2 |
|---|---|
| John Smith | John Smith ltd |
| Pepper Row | Whatever Pepper |
| red | Blue |
The only row I should be seeing after the filtration is the last one:
| Col1 | Col2 |
|---|---|
| red | Blue |
I found an answer here which shows results with partial matches. I tried to modify it to return only 0 matches by using NOT LIKE but it did not work out.