I have one table :EID,Depid,ename,sal
I want to have max(sal) in each department.
Answer Posted / venkat
select * from emp_test where sal IN(select max(sal) from
emp_test group by deptno)
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What is connection pooling in oracle?
What are the major difference between truncate and delete?
How to view all columns in an existing table?
you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz
Explain the use of rows option in exp command.
What do you mean by a tablespace?
Is there an oracle sql query that aggregates multiple rows into one row?
What are the uses of synonyms?
How to create id with auto_increment on oracle?
Explain what does a control file contain?
What is a cognitive schema?
what is the use of triggers in Java program? I mean where do we use triggers in Java programming?
List out the components of logical database structure of oracle database.
How to connect ms access to oracle servers?
What are the types of trigger in oracle?