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...

There is a table with emp salary column how to get the fields belongs to the salary greater than the average salary of particular department.
Write a query

Answer Posted / manoj

SELECT *FROM EMP WHERE SAL>(SELECT AVG(SAL) FROM EMP WHERE
DEPTNO=10);
this is correct answer. all the above answer are wrong except last one. Because in single row sub query we can't use group by clause. In all above queries they were used '>' simbol. So this is single row sub query matching operator.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To import the flat file definition into the designer where should the flat file be placed?

1104


Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?

1166


What do you mean by DTM and Load manager and what is difference between load manager and load balancer?

1210


How can you increase the performance in joiner transformation?

1248


What is sorter transformation?

1108


In informatica workflow manager, how many repositories can be created?

1437


Is it possible to define a single node as a Gateway node as well as worker node?

1184


Briefly define reusable transformation?

1182


How can we use mapping variables in informatica? Where do we use them?

1286


How will the document be delivered to me?

1129


What is the commit type if you have a transaction control transformation in the mapping?

1098


What is a joiner transformation?

1035


Could you explain what is enterprise data warehouse?

1224


What is fact table? Explain the different kinds of facts.

1125


How to differentiate between the active and passive transformations?

1229