Reputation: 6114
select paymentType from paymentAccount
output
p
f
How can i display the output like
output
Part
Full
Upvotes: 0
Views: 2072
Reputation: 15571
Rewrite like:
select CASE paymentType WHEN 'p' THEN 'Part' WHEN 'f' THEN 'Full' END AS paymentType from paymentAccount
Upvotes: 3