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 / lokesh y g

select e.no,e.name,e.salary from emp e where salary >
(select avg(salary)as salary from emp e1 where e.no=e1.no
group by no)

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is domain and gateway node?

1165


Explain the difference between a data warehouse and a data mart?

1056


How to generate sequence numbers?

1089


Dimension Object created in Oracle can be imported in Designer Cubes contain measures

2398


Briefly define a session task?

1135


When do you use sql override in a lookup transformation?

1099


How to differentiate between the active and passive transformations?

1167


I have three same source structure tables. But, I want to load into single target table. How do I do this? Explain in detail through mapping flow.

1279


What is the need of etl tools?

1120


How to extract sap data using informatica?

1043


Tell me about your experience in informatica? what is best mark you can give yourself? How to answer this question?

8223


Explain the different kinds of facts.

982


What is target designer and target load order?

1108


What are the different components of powercenter?

1055


Is there any way to read the ms excel datas directly into informatica?

1022