当前位置:网站首页>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边栏推荐
- MySQL表的增删改查(基础)
- UE4: explanation of build configuration and config
- MASS幸运哈希游戏系统开发丨冲突解决方法(代码分析)
- 带你认识图数据库性能和场景测试利器LDBC SNB
- Leetcode 821. 字符的最短距离(简单) - 续集
- Mobile low code development theme month | visual development one click generation of professional source code
- Bit. Store: long bear market, stable stacking products may become the main theme
- GIS remote sensing R language learning see here
- Manage rust project through cargo
- 运算符的基础知识
猜你喜欢

蓄力中台,用友iuap筑牢社会级企业数智化新底座

Pointers and structs

Accumulating power in the middle stage, UFIDA IUAP builds a new base for digital intelligence of social enterprises

可观测,才可靠:云上自动化运维CloudOps系列沙龙 第一弹

Redis持久化

多伦多大学博士论文 | 深度学习中的训练效率和鲁棒性

从指令交读掌握函数调用堆栈详细过程

Web APls 阶段——第十四节——本地存储

《第五项修炼》(The Fifth Discipline):学习型组织的艺术与实践

微信iOS版8.0.24更新发布 缓存细分清理上线
随机推荐
shell脚本常用命令(四)
Longitude and latitude analysis
基础数据类型和复杂数据类型
redis数据结构
OpenSSL client programming: SSL session failure caused by an obscure function
Summary of submarine cable detection technology
UE4-Actor基础知识
数智化进入“深水区”,数据治理是关键
Batch insert data using MySQL bulkloader
[help] troubleshooting of JVM's high CPU resource consumption
1023 Have Fun with Numbers
One to one relationship
数据库事务
UE4 actor Basics
[login interface]
ABAP-CL_OBJECT_COLLECTION工具类
qt中文乱码
现在网上买股票开户身份证信息安全吗?
多伦多大学博士论文 | 深度学习中的训练效率和鲁棒性
蓄力中台,用友iuap筑牢社会级企业数智化新底座