正序:
select * from table_name ORDER BY CONVERT(name USING gbk);
倒序:
select * from table_name ORDER BY CONVERT(name USING gb2312) desc
正序:
select * from table_name ORDER BY CONVERT(name USING gbk);
倒序:
select * from table_name ORDER BY CONVERT(name USING gb2312) desc
本文标题:mysql中文排序(按照中文拼音顺序排序)
本文链接:https://www.haomeiwen.com/subject/dlkkvftx.html
网友评论