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

in which situations do u go for sequence generator ?

2 Answers   TCS,


I HAVE A SOURCE FILE CONTAINING 1|A,1|B,1|C,1|D,2|A,2|B,3|A,3|B AND IN TARGET I SHOULD GET LIKE 1|A+B+C+D 2|A+B 3|A+B WHICH TRANSFORMATION I SHOULD USE

5 Answers   Informatica,


What is a rank transform?

0 Answers  


what is the flat file partition and where have to specify it

1 Answers   TCS,


My i/p is 1,2,3,4,5,6,7,8,9,10……….. o/p to be populate in two tables as below. o/p1: 10,20,30,40,50,60,70,80,90……. o/p2: 11,21,31,41,51,61,71,881,91…….

7 Answers   Accenture,


All active transformations r passive or not?

7 Answers  


get me output as if input is like 1 x o/p-->1 x,y,z 1 y 2 a,b 1 z 3 c 2 a 2 b 3 c

0 Answers   Infosys,


Explain the tuning lookup transformation - informatica

0 Answers   Informatica,


sir presently i am persuing my m.tech recently i got job in tcs as fresher presently iam doing my 9 months project related to informatica can any one guide me how to create fact tables what type of schemas must be used and so on if so give ur mail ids so that i can contct through it

1 Answers  


3. Suppose Seq Gen is supplying a increamental value to a column of a table, suppose, table's column value reaches to maximum value, then what will happen, will the session fail? If it is the situation, then what should be done so that we can stop this kind of situation in advance?

7 Answers   Accenture,


Write the advantages of partitioning a session?

0 Answers  


What is CDC? How to implement CDC?

4 Answers   People Tech, TCS,


Categories