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
What does sharding mean?
What is dual table oracle?
How do I escape a reserved word in oracle?
How many types of table in Oracle?
What is a tns file?
Explain how are indexes update?
How to export data to a csv file?
How to get a list of all user accounts in the database?
How to insert multiple rows with one insert statement in oracle?
What is Virtual Private Database in Oracle?
How to experiment a data lock in oracle?
What is the maximum limit on the number of columns in a table?
How to run the anonymous block again?
Please explain compound trigger in oracle?
State and explain the different types of data models?