多表关联查询报错先看报错结果
我想通过这个org_post_user_name 表和这个has 的复合表进行查询
通过这个条件关联在一起查询
where ssorg.org = has.qwe
然后就报这个两个表的编码格式不正确
Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='
最后在where 的地方将两个字段通过COLLATE关键字 编码格式统一
where ( ssorg.org COLLATE utf8mb4_general_ci )=( has.qwe COLLATE utf8mb4_general_ci )