Skip to content

Commit 545cc69

Browse files
committed
mysql
1 parent 522a667 commit 545cc69

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DataBase/mysql.md

+4
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ MySQL Server version: 5.7.21-1 (Debian)
4242

4343
`update user set plugin = 'mysql_native_password where user = 'root'; `
4444
最后,还要记得更新!
45+
46+
47+
### 中文排序
48+
`SELECT * FROM sqllearn.Orders ORDER BY orderNumber DESC, convert(company using gbk)` 需要使用 `convert` 转换

0 commit comments

Comments
 (0)