MS ACCESS order string column as Number 和 String 取决于他的值

MS ACCESS order string column as Number and as String depending on his value

我有一个可以包含数字和字符串的列..我需要按此列的查询进行排序:

"Col1"
Cars
Bikes
1
2
25
3
4
41
5

但我需要:

"Col1"
Bikes
Cars
1
2
3
4
5
25
41

有没有办法在 MS 访问中执行此操作?

您可以使用 Val 其中 returns 0 用于 non-numeric 个字符串:

Order By Val([Col1]), [Col1]