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

Advance Thanks

Answer Posted / eval

update emp_test set comm=(select min(sal) from emp_test)
where comm is null;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is metadata stored?

788


What is a connected transformation?

874


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

1816


What are ETL Tools?

850


What is meant by active and passive transformation?

793


Explain Dataware house architecture .how data flow from intial to end?

2335


What will happen if the select list columns in the custom override sql query and the output ports order in sq transformation do not match?

754


According to his methodology what all you need before you build a datawarehouse

1417


What do you mean by blocking transformation?

779


How can you validate all mappings in the repository simultaneously?

1030


What is Session and Batches?

866


if i hv 6 table as source table but can i make 12 as a dim table and 6 as fact table belongs to that src table.

1978


What is meant by a domain?

842


Explain the shared cache and re-cache?

813


generate date / time dimension in informatica

887