I have 2 tables. Table1
contains a profile. Table2
contains user login details. The two tables are related by the same column: gurdianID
. I want to get a single row from 'Table1' and 'Table2' where the 'gurdianID' matches in both the tables. i.e. Example gurdianID'='15001'
.
I tried the following but it keeps giving me a MySQL error:
SELECT *
FROM portalGurdian, gurdLogin
WHERE portalGurdian.guardID=gurdLogin.guardID
AND portalGurdian.guardID='15001';
The Error Message is:
MySQL said: Documentation
#1267 - Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
Any guidance on how to resolve this ?