SELECT Statement in CASE

How to use select statement in Case?

Questions by Savindra.Bandi

Showing Answers 1 - 2 of 2 Answers

sen_sam86

  • Jun 24th, 2009
 

SELECT  e.emp_name, e.emp_id,
         
           CASE e.emp_id
           WHEN 1133 THEN ' The new name is ' || e.emp_name
           WHEN 1134 THEN ' The new name is ' || e.emp_name
           END AS "New_emp_name"

FROM emp e

hope this will help u,,,!

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions