The query I am running is
select accountid from general order by accountid ASC
The result I get is
accountid
------------
1
1001
1002
10021
10026
1006
1007
Why is it not ordering correctly? It’s a simple query and I am completely lost at how I can resolve this matter.
The column type must be a numeric (
int,number,bigint, etc) type..Looks like right now it is a
VARCHARtype column… which is sorted like a dictionary…