Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

In which transformation you cannot drag ports into it?

1271


Mine is Insurance Domain, So interviewer asked about terms like underwriting, disbursement amt, Reinsurance

1973


What is a joiner transformation and why it is an active one?

1029


Enlist the advantages of informatica.

1020


Why union transformation is an active transformation?

1011


What are the components of the workflow manager?

1100


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

1245


What are the various types of transformation?

1124


How are the sources and targets definitions imported in informatica designer?

1074


Enterprise data warehouse your projects phase by phase explain?

1876


Explain lookup transformation is active in informatica

1054


Explain sessions and how many types of sessions are there?

971


Explain the informatica workflow?

1023


i had a source containing business,sales,details column and i have to load it to a target but i have some bad records in it , but i have to load 70% of business records and 50% of sales and 95% of details records excluding bad records to achieve this what should be done and what all logic and tx should be used can anyone help? thanks in advance

2089


What is data caches/ index caches?

1045