Query table data sorted by Chinese initials

Query the following table data, sort by the first letter of the city_name field value

sql looks like this:

SELECT
	*
FROM
	b_province_city
ORDER BY
	CONVERT (
		b_province_city.city_name USING gbk
	) COLLATE gbk_chinese_ci ASC

 

The query result is as follows:

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326215251&siteId=291194637
Recommended