MySQL 对字符串排序

178 阅读1分钟

对varchar类型的列进行排序

SELECT * FROM user_task WHERE person_id=2238150774710305 ORDER BY task_name*1 ASC;