So I have a table with 600 thousand rows. We are pulling the data from oracle and transferring it to MSSQL(As we have only read rights in oracle).
Currently it is a simple query
select Name, address,country from Table a
I am looking for a way to add a column in this select statement naming it as Region to categorize the country.
If country in India, China and Sri Lanka then APAC. If country in USA, BRA or CAN then AMER.
My knowledge in SQL is at beginner level so I guess it is not possible and I might need to use support from python to execute this but thought of asking before taking a decision.
Thanks in advance
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…