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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does cheating measurement mean?

1043


How are indexes created after completing the load process?

1631


How does the aggregator transformation handle null values?

1144


what is the size of u r source(like file or table)?

2265


What is option by which we can run all the sessions in a batch simultaneously?

1135


What is pmcmd command?

1100


As union transformation gives UNION ALL output, how you will get the UNION output?

1106


What is a surrogate key?

1074


Explain transaction control transformation in informatica

1263


What are the different clients of powercenter?

1053


What is the difference between power center and power mart? What is the procedure for creating independent data marts from informatica 7.1?

1075


What is informatica? Why do we need it?

1092


What is the need for an etl tool?

1062


Difference between Target-based loading and constraint-based loading?

992


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

1259