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

Advance Thanks

Answer Posted / madhu

here is the query
update emp set sal =(select min(sal) from emp) where sal is null

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you migrate data from one environment to another?

661


What are the reusable transformations?

708


I have a mapping loading 100 records and it failed on 20th record. how to recover it without changing anything.(in prod where we don't have any access).. (the session should should start from 21 record)

1105


Please tell me which institute is the best to study Informatica and asp.net in chennai Also please send me the latest interview questions in asp.net,c# and sql server to my id ramtryin@gmail.com

1604


What are roles and groups and benefits of using them?

585






What is the sequence generator transformation in informatica?

629


Define Pmrep command?

652


Hello, Can you please send the admin and advanced mapping design sample questions to ns_sharmin@yahoo.com?

1873


in staging we are merging the data and remove the inconsistants data that type of situation what u will done and type of functions u can use

1667


How to elaborate tracing level?

705


What is a sorter transformation?

687


What is aggregate cache in aggregator transformation?

649


what is SDLC way of code development?

1575


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

1762


What are the different versions of informatica?

699