📅  最后修改于: 2022-03-11 15:05:02.382000             🧑  作者: Mango
You can also sort or order by the Number of Characters in each Column you wish
to sort by. Shown below is a sample which sorts by the first three characters
of the First Name and by the last two characters in the name of the town.
SELECT *
FROM table_name
ORDER BY LEFT(FirstName, 3) ASC, LEFT(Town, 2);