这是我的测试数据(MySQL)
test1
test2
test3
test10
test11
mytest
我想通过文本而不是以下数字(如果存在)来订购这些记录:
mytest
test1
test2
test3
test10
test11
当我使用 时Order By
,我的数据被排序为文本,如下所示:
mytest
test1
test10
test11
test2
test3
谁能给我一个解决方案?
这是我的测试数据(MySQL)
test1
test2
test3
test10
test11
mytest
我想通过文本而不是以下数字(如果存在)来订购这些记录:
mytest
test1
test2
test3
test10
test11
当我使用 时Order By
,我的数据被排序为文本,如下所示:
mytest
test1
test10
test11
test2
test3
谁能给我一个解决方案?