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

Clarify the aggregator change?

972


What is an expression transformation in informatica?

964


is it possible to index the data in cache of lkp transformation ?

1961


What does cheating measurement mean?

998


How big was your fact table

1744


What is event and what are the tasks related to it?

1058


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?

1048


What is dimensional table?

1004


Does an informatica transformation support only aggregate expressions?

973


Explain why we use partitioning the session in informatica?

1009


What is mapplet in informatica?

983


What is sq transformation?

1082


server hot-ws270 is connect to Repository B. What does it mean?

2442


source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.

2681


Source and Target are flat files, Source table is as below ID,NAME 1,X 1,X 2,Y 2,Y On Target flat file i want the data to be loaded as mentioned below ID,NAME,REPEAT 1,X,2 1,X,2 2,Y,2 2,Y,2 How to achieve this, Can i get a map structure

7268