Hello Everyone,
I have a table named Customer with the fields CustomerId,Name ,Address,PhonNo .
I have ten records there
C001......to ......C0010
When i execute the following query, it shows the wrong answer
select max(CustomerId) from Customer
CustomerId
-----------------
C009
Whats the problem with this query,
Please get me a solution for this
I have a table named Customer with the fields CustomerId,Name ,Address,PhonNo .
I have ten records there
C001......to ......C0010
When i execute the following query, it shows the wrong answer
select max(CustomerId) from Customer
CustomerId
-----------------
C009
Whats the problem with this query,
Please get me a solution for this
Comment