G
Guest
Hi,
In my table I have a column called ID that contain values such as
A1,A2,AA1,AG3...AU and I would like to select the maximum value in the values
that start with A followed by number in this case it should be "A2" but by
using :
"Select max(ID) from Register where ID like'A%'"
I will get "AU".
Also I have tried :
select max(ID) from Register where ID like'A[0-9]'
Cheers.
In my table I have a column called ID that contain values such as
A1,A2,AA1,AG3...AU and I would like to select the maximum value in the values
that start with A followed by number in this case it should be "A2" but by
using :
"Select max(ID) from Register where ID like'A%'"
I will get "AU".
Also I have tried :
select max(ID) from Register where ID like'A[0-9]'
Cheers.