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


write a query to get maximum salary from the employers table
without duplicates....kindly help me

Answers were Sorted based on User's Feedback



write a query to get maximum salary from the employers table without duplicates....kindly help me..

Answer / rama

select (distinct max(sal)) from emp

Is This Answer Correct ?    16 Yes 7 No

write a query to get maximum salary from the employers table without duplicates....kindly help me..

Answer / sudheer113

MAX(SAL) will not give duplicate records in a single group

Is This Answer Correct ?    1 Yes 0 No

write a query to get maximum salary from the employers table without duplicates....kindly help me..

Answer / anil kumar

select distinct max(sal) from table name

Is This Answer Correct ?    2 Yes 5 No

write a query to get maximum salary from the employers table without duplicates....kindly help me..

Answer / deva

select (distinct max(sal)) from emp
group by sal.

When ever you use goupfunctions in select statement grup by clause is must.....other wise it will throw an error

Is This Answer Correct ?    8 Yes 13 No

write a query to get maximum salary from the employers table without duplicates....kindly help me..

Answer / asdfg

select (distinct max(sal)) from emp
group by sal.

When ever you use goupfunctions in select statement grup by
clause is must.....other wise it will throw an error

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More Informatica Interview Questions

can any one give some examples for pre sql and post sql(Except dropping and creating index).

0 Answers   Zensar,


differences between service based and product based?

0 Answers   Satyam,


When do we use dynamic cache and static cache in connected and unconnected lookup transformations?

3 Answers  


what is the difference between stop and abort?

3 Answers   TCS,


What is domain and gateway node?

0 Answers  


Why we require dwh in particular projects?

1 Answers   Amdocs,


While importing the relational source definition from the database, what are the metadata of source that will be imported?

0 Answers   Informatica,


Let’s say I have more than have record in source table and I have 3 destination table A,B,C. I have to insert first 1 to 10 records in A then 11 to 20 in B and 21 to 30 in C. Then again from 31 to 40 in A, 41 to 50 in B and 51 to 60 in C……So on up to last record.

5 Answers  


Converting Rows to columns I have Relational source like his. JAN FEB MAR APR 100 200 300 400 500 600 700 800 900 100 200 300 I need to convert these rows into columns to the targe. MONTH TOTAL JAN 1500 FEB 900 MAR 1200 APR 1500 Please experts help me

8 Answers   HP,


What are the challenges you have faced in your project?

1 Answers   Cognizant, Infosys,


Make a note of the quantity vaults made in informatica?

0 Answers  


Source table ------------- ID NAME --- ------ 101 PANKAJ NULL KUMAR NULL MATHUR 102 JYOTI NULL SAXENA 103 SACHIN NULL TENDULKAR TARGET TABLE ------------- ID NAME --- ------- 101 PANKAJ KUMAR MATHUR 102 JYOTI SAXENA 103 SACHIN TENDULKAR How to do the above scenario in Informatica.

4 Answers   Cap Gemini,


Categories