Hi nkm,
Assume that your table is named 'TableA' and its columns are named 'A', 'B' and 'C'. Let the column 'C' contain values such as 'AP', 'NAP', 'N/A' etc. etc. You could make use of the case statement to achieve what you have asked for. The sample sql is furnished below.
Select A,
B,
case
when C = 'AP' then 'Approved'
when C = 'NAP' then 'Not Approved'
when C = 'N/A' then 'Pending'
end
from TableA
All the best,
Vijay