例如数据表某字段client_name的字符编码是utf8_general_ci:
SELECT * FROM `client_info_msg` ORDER BY CONVERT( client_name USING gbk ) COLLATE gbk_chinese_ci ASC;
正文完
例如数据表某字段client_name的字符编码是utf8_general_ci:
SELECT * FROM `client_info_msg` ORDER BY CONVERT( client_name USING gbk ) COLLATE gbk_chinese_ci ASC;