当前位置:网站首页>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边栏推荐
- 可观测,才可靠:云上自动化运维CloudOps系列沙龙 第一弹
- 循环遍历及函数基础知识
- Manage rust project through cargo
- Wechat IOS version 8.0.24 update release cache subdivision cleaning Online
- 经纬度分析
- Determine whether a variable is an array or an object?
- 蓄力中台,用友iuap筑牢社会级企业数智化新底座
- Pyhton爬取百度文库文字写入word文档
- Is it safe to buy stocks online and open an account?
- Leetcode 989. 数组形式的整数加法(简单)
猜你喜欢

Mathematical derivation from perceptron to feedforward neural network

连接集成开发专题月 | 企业主数据治理的驱动因素

C# 二维码生成、识别,去除白边、任意颜色

429-二叉树(108. 将有序数组转换为二叉搜索树、538. 把二叉搜索树转换为累加树、 106.从中序与后序遍历序列构造二叉树、235. 二叉搜索树的最近公共祖先)

MySQL表的增删改查(基础)

muduo

Pointers and structs

SQL Server - Window Function - 解决连续N条记录过滤问题

UE4:Build Configuration和Config的解释

蓄力中台,用友iuap筑牢社会级企业数智化新底座
随机推荐
[login interface]
通过 Cargo 管理 Rust 项目
1027 Colors in Mars
1025 PAT Ranking
现在网上买股票开户身份证信息安全吗?
1023 Have Fun with Numbers
429- binary tree (108. convert the ordered array into a binary search tree, 538. convert the binary search tree into an accumulation tree, 106. construct a binary tree from the middle order and post o
什么是SSR/SSG/ISR?如何在AWS上托管它们?
可观测,才可靠:云上自动化运维CloudOps系列沙龙 第一弹
数智化进入“深水区”,数据治理是关键
MySQL表的增删改查(基础)
移动低代码开发专题月 | 可视化开发 一键生成专业级源码
聊聊毕业季
ABAP-SM30删除前检查
Is it safe to buy stocks online and open an account?
Mobile low code development theme month | visual development one click generation of professional source code
形参的默认值-及return的注意事项-及this的使用-和箭头函数的知识
【精品必读】Linux系统Oracle数据库趣解子查询
1023 Have Fun with Numbers
微信iOS版8.0.24更新发布 缓存细分清理上线