SQL MAX () Function
I found a very interesting / strange thing about the MAX () function in SQL.
I have a column ID with datatype varchar2 (20) having the following entries: -
I WOULD
According to my understanding, if I use "select max (ID) from table"; I should get 909 result, but I get 99. Can someone explain why this is happening?
1
2
3
4
5
6
9
99
909
+3
source to share