Use the following code:
select *,right(field1,4) as Col1 from [Tablename]order by col1
You can do it by using substring:
SELECT *, substring(field1, 3, 5) as col1from [tablename]order by col1
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.























