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

explain abt ur project architecture?

1765


what are the deliverables?in your project?

1662


How to load the data from people soft hrm to people soft erm using informatica?

564


What are mapplets?

826


What is aggregator transformation in informatica?

545






Explain what are the different types of transformation available in informatica. And what are the mostly used ones among them?

611


What is joiner change?

684


in reporting we add some new objects,how we get the count of the newly added objects to the report

1753


What is Cognos script editor?

3788


How are the sources and targets definitions imported in informatica designer?

672


How you prepared reports for OLAP?

1155


Define update strategy?

641


What all are steps in up gradation of Informatica server?

623


Please let me know how to make encryption and decryption with example?

1472


have u done any performance tuning? how u ll do?

1861