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

Hello , I am unable to work with SQL transformation at least. Where do i need to give connection for sql transformaton ? At session level there is no property . I have created a SQL Transformation and chosen query mode. But do i need to pass connection information to it ? I don't know where do i need to write a query ? I have written a query in file and that file path i gave in the properties of SQL Transformation. But it is not working. Could any one of you please let know how can i work with SQL Transformation? Advance Thanks.

2322


TELL ME ONE COMPLEX MAPPING IN UR PROJECT? chandumba2005@gmai.com

1462


Can one use mapping parameter or variables created in one mapping into any other reusable transformation?

595


Global and Local shortcuts. Advantages.

1464


What is a sorter transformation?

657






How to Create a folder using pmrep command?

618


What is informatica? Why do we need it?

636


What are the differences between a connected lookup and unconnected lookup?

643


Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar usa 20 kumar Tokyo I want records in target like shown below No name addr1 addr2 10 manoj mum dilhi 20 kumar usa Tokyo If it is reverse we can do this by using Normalizer transformation by setting occurance as 2. Somebody will say use denoralization technique. But as of my knowledge I couldn’t find any denormalization technique. Is there any concept like that? I tryid this seriously but I could find any idea to implement this. Can any one please help me ? Advance Thanks

6370


Explain pmcmd command usage in informatica

700


what is unit testing?tell me proceedure

1774


How do you load more than 1 max sal in each department through informatica or write sql query in oracle?

1004


What is a rank transform?

670


The question was on time stamp. what is the difference between HH and HH24 when to use when.

1550


How many types of sessions are there in informatica.please explain them?

676