sql - Select a value ending in letters from a list of values -
i have column has data type of varchar(25), while values in column '89009', 'hs123','4491au', '44989ea'.
how select values of last two digits not numbers letters?
in case how select '4491au' , '44989ea'
please advise.
thank all. problem solved
use like:
where col '%[a-za-z][a-za-z]' or, if want non-digits:
where col '%[^0-9][^0-9]'
Comments
Post a Comment