![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
名字看着办
很懒,什么都没有写
展开
-
mybatis-plus实现IN和Like模糊查询同一字段
【代码】mybatis-plus实现IN和Like模糊查询同一字段。原创 2024-03-12 11:34:35 · 330 阅读 · 1 评论 -
对中文汉字进行排序的sql
开发中如果遇到对String类型的字段进行排序,如何排?执行以下sql就可以:table: 表名;name: 字段名select * from table order by convert(name using gbk) collate gbk_chinese_ci asc上边列举的sql是正序排序,排序顺序:数字最前(数字从小到大),英文其次(a-z),汉字最后(首字母)。...原创 2022-01-06 15:51:50 · 2416 阅读 · 0 评论