- 中文字段按拼音排序:
select name from test1 order by convert(name using gb2312) asc;
(转自:http://blog.csdn.net/leolu007/article/details/18984101)
MySQL 技巧
最新推荐文章于 2024-09-02 07:02:10 发布
select name from test1 order by convert(name using gb2312) asc;
(转自:http://blog.csdn.net/leolu007/article/details/18984101)