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
1) Does oracle have any table which contain all the exceptions and it's code internally?
How to execute a stored program unit?
How to convert numbers to characters in oracle?
Explain oracle data types with examples?
How to delete a user account in oracle?
Hi Masters, in Oracle Applications 11i, we hace 2 functions using the same form, i need to create 1 personalization, but that code must afect only one function.... how can i do that?
Give syntax for SQL and ORACLE joins.
What is oracle instant client?
What is a proxy class?
what happened to the global index when I truncate the data in one of the partition?
What are temporal data types in oracle?
Explain an index?
What is recovery manager(rman) backup in Oracle?
How to install oracle database 10g xe?
What suggestions do you have to reduce the network traffic?