当前位置:网站首页>SQL报了一个不常见的错误,让新来的实习生懵了
SQL报了一个不常见的错误,让新来的实习生懵了
2022-06-27 18:13:00 【InfoQ】
问题起源
Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='mysql的utf8格式与排序规则
字符集uft8与uft8mb4
- utf8
- utf8mb4
排序规则
SELECT * FROM table1 t1
left join table2 on t1.username = t2.username特点
区别
排序规则不兼容的解决方案
SELECT
u.guid
FROM
`test` t
LEFT JOIN user u ON u.guid = t.guid COLLATE utf8mb4_unicode_ci
WHERE t.state = 1边栏推荐
猜你喜欢
随机推荐
mime.type文件内容
Leetcode 821. 字符的最短距离(简单) - 续集
可观测,才可靠:云上自动化运维CloudOps系列沙龙 第一弹
形参的默认值-及return的注意事项-及this的使用-和箭头函数的知识
嵌入式软件开发中必备软件工具
Doctoral Dissertation of the University of Toronto - training efficiency and robustness in deep learning
【精品必读】Linux系统Oracle数据库趣解子查询
【云驻共创】 什么是信息化?什么是数字化?这两者有什么联系和区别?
使用MySqlBulkLoader批量插入数据
连接集成开发专题月 | 企业主数据治理的驱动因素
【debug】平台工程接口调试
UE4-Actor基础知识
【bug】联想小新出现问题,你的PIN不可用。
[required reading for high-quality products] sub query of Oracle database in Linux system
Rust 所有权进阶 -- 内存管理
SQL Server - Window Function - 解决连续N条记录过滤问题
[bug] there is an error uploading the picture (413 request entity too large)
【help】JVM的CPU资源占用过高问题的排查
1023 Have Fun with Numbers
什么是SSR/SSG/ISR?如何在AWS上托管它们?






