查询如下表格数据,按照city_name字段值首字母排序
sql如下所示:
SELECT * FROM b_province_city ORDER BY CONVERT ( b_province_city.city_name USING gbk ) COLLATE gbk_chinese_ci ASC
查询结果如下所示: