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
Why does oracle 9i treat an empty string as null?
What is pragma autonomous transaction in oracle?
Define oracle database
How to see free space of each tablespace?
How remove data files before opening a database?
6. Display the client name and order date for all orders using the traditional method.
When system tablespace is created?
How to create a new view in oracle?
what is the difference between restoring and recovering?
How to load data from external tables to regular tables?
How do we represent comments in oracle?
What is the database name in oracle?
Explain what are synonyms used for?
Why does Oracle not permit the use of PCTUSED with indexes?
How to do clean up if create database failed?