MYSQL databases
Database1 - table - table1
id - int
title - utf8_general_ci
values -
1, Bienvenue Chez les Ch’tis
2, ABC
3, XYZ
Database2 - table - table2
id - int
title - utf8_unicode_ci
values -
1, Bienvenue Chez les Ch’tis
2, ABC
3, QWE
I have list of titles in both the tables as above.I want to list titles which are not same.
I tries so many different things but no luck.
How can I compare these titles?
SELECT database1.table1.title as title1,database2.table2.title as title2
FROM database1.table1 JOIN database2.table2 ON (database1.table1.id =database2.table2)
WHERE database1.table1.title NOT LIKE database2.table2.title COLLATE utf8_general_ci
result from above query:
Bienvenue Chez les Ch’tis, Bienvenue Chez les Ch’tis
XYZ, QWE
But I just want below in result
XYZ, QWE
I want to exclude french one, I want to consider it as a identical titles.