I have written this query
select *
from order mbo
where storeId in(select storeid
from store bs
INNER JOIN distributioncenter bd
on bd.distributionCenterId = bs.distributionCenterId
where (bd.orderCloseTime > curtime() and date(bo.orderDate)>=date(now())
and bs.storeId=1112211)
or (date(bo.orderDate)>date(now())and bs.storeId=1112211));
And this query is working fine in my local but when in other colleague's system i am getting below issue.
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,NUMERIC) for operation '>';
What could be the issue?