I have one table :EID,Depid,ename,sal
I want to have max(sal) in each department.
Answer Posted / sunil
select depid,max(sal) from <table name> group by depid;
| Is This Answer Correct ? | 33 Yes | 4 No |
Post New Answer View All Answers
How to delete multiple rows from a table in oracle?
How to commit the current transaction in oracle?
What is oracle rownum?
How to filter out duplications in the returning rows using oracle?
HI, Please let me know the syllabus for Oracle OCA and OCP Certification
Explain drop constraint oracle?
What is oracle database client?
What is a snapshot in oracle database?
Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.
What are the roles of dba?
How does Oracle guarantee data integrity of data changes?
What to do if the startbd.bat failed to start the xe instance?
Explain alias?
How to define a data source name (dsn) in odbc manager?
What is a database schema in oracle?