I have the table with 1 column and has following data
Status a1 i t a2 a3
I want to display the following result in my select query
You can rewrite it to use the ELSE condition of a CASE:
SELECT status, CASE status WHEN 'i' THEN 'Inactive' WHEN 't' THEN 'Terminated' ELSE 'Active' END AS StatusText FROM stage.tst