多表联查

 

SQL:

(SQL查询报错)Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

 

 

 

错误原因

两张表编码不相同,确切说两张表关联字段编码不相同

 

下面是两张表详细情况(请仔细查看,表的编码和关联字段及其编码已框起来):

(SQL查询报错)Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

 

 (SQL查询报错)Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='

 

 

最后,改过来就好了

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-15
  • 2021-11-04
  • 2022-12-23
  • 2021-10-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2022-12-23
  • 2021-04-15
相关资源
相似解决方案