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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is native users?

1222


Can we override a native sql query within informatica?

1087


What is flashback table ? Advance thanks

1996


how tokens will generate?

2247


What is informatica etl tool?

1057


Different circumstance which drives informatica server to expel records?

1041


What is domain and gateway node?

1205


How does a sorter cache works?

1108


If i have source as flat file. how can i store the header and trilor into one target and data into one more target. |------>target1(header+trailor) source------ |------>target2(data) can any one please help me

2055


What is expression transformation?

1144


What are the mapping parameters and mapping variables?

1272


how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?

2510


What is a mapplet/worklet in informatica?

1244


Can you generate sequence numbers without using the sequence generator transformation?

1160


What does reusable transformation mean?

1192