主键是id,前提是主键虽然是字符串,但是仍是数字,如果是‘ffghdf5664hfhgh’这种随机码的话,是无法转换排序的
select * from user_info ORDER BY cast(id AS INT) desc