Mysql uses utf8 coding, can Chinese still be sorted by pinyin?

  1. I used knex, in the background to change that statement to knex version or knex
  2. or directly support utf-8 statement query can also
select * from tailor order by convert(province using gbk)
Mar.03,2021

it is better to create a single column to save pinyin, otherwise polysyllabic words will upset you


finally write a custom query statement with orderRaw?

Menu