If sal is null then replace it with min(sal). Can any one
write a query for this in oracle ?
Advance Thanks
Answer Posted / amol m
SELECT DECODE(w.salary,NULL,(SELECT MIN(e.salary) FROM
employees e),w.salary) FROM employees w
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between Active and Passive transformation?
My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?
What is pmcmd command?
What the difference is between a database, a data warehouse and a data mart?
How do you migrate data from one environment to another?
What are the different types of repositories created using informatica?
What is the procedure for creating independent data marts from informatica 7.1?
Hi, I am planning to take Infa Certification exam but am unable to find its dumps anywhere on web. If anybody has it, plz share them with me. jkinfo22@gmail.com Thanks in advance
Separate from a database, an information bazaar, and an information stockroom?
What are the differences between oltp and olap?
Debugger what are the modules, what are the options you can specify when using debugger, can you change the expression condition dynamically when the debugger is running.
Mention few power centre client applications with their basic purpose?
How do you use reject loader.
How does a sorter cache works?
What is standalone command task?