If sal is null then replace it with min(sal). Can any one
write a query for this in oracle ?

Advance Thanks

Answer Posted / priyank

select (case when sal is null then (select min(sal) from
emp) end) from emp

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can't we connect source qualifier and aggrigator transformation to an expression ? Why they resticted to conncet 2 active trasformations to an passive transformation ?

1757


What you know about transaction control transformation?

570


What are connected or unconnected transformations?

638


What is event and what are the tasks related to it?

631


What is target designer and target load order?

671






Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1340


what is the size of u r source(like file or table)?

1841


can we override a native sql query within informatica? How do we do it?

664


Differences between connected and unconnected lookup?

630


How can you define user defied event?

642


what is diff b/t sorter t/r and agg have the option sorter property...

1762


Explain the tuning lookup transformation - informatica

627


Enlist some properties of sessions.

648


What is decode in static cache?

608


What are the different types of repositories created using informatica?

673