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 / vivek singh

SELECT * FROM EMP WHERE SAL>(SELECT AVG(SAL) FROM EMP)
AND DEPTNO=10;

O/P:
7839 KING PRESIDENT 17-NOV-81 5000 10
7782 CLARK MANAGER 7839 09-JUN-81 2450 10

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

COL1,COL2 ABC,1 XYZ,2 HERE IN COL2 VALUES 1,2 NOT STSANDARD(IE MEANS NOT FIXED VALUES LIKE OTHER SOME VALUES LIKE 10,20) O/P IS COL1,COL2 ABC,2 XYZ,1

1962


What is domain and gateway node?

1174


What is the function of aggregator transformation?

1095


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?

1114


What are the types of schemas we have in data warehouse and what are the difference between them?

953


What is meant by lookup transformation? Explain the types of lookup transformation?

960


Define Pmrep command?

1077


Briefly explain the aggregator transformation?

1021


Differentiate between a database and data warehouse?

1155


What is joiner change?

1156


What are the various types of transformation?

1192


What is an active transformation?

1119


How do we call shell scripts from informatica?

1134


Why update strategy and union transformations are active?

1054


what are the best practices to extract data from flat file source which are bigger than 100 mb memory?

2370