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
Please explain oracle left join with an example?
Assuming that you are an End User How to find that in the payment Batch some of the Invoice was Missing To pay How to find That??
List the types of joins used in writing subqueries?
How do I start tns listener?
What is the use of oracle?
What are the predefined tablespaces in a database?
Can you create a synonym without having a table?
What is logical backup in oracle?
How do we create privileges in oracle?
What are the different types of database objects?
How to lock and unlock a user account in oracle?
what is reindexing?
What are the extensions used by oracle reports?
How many types of table in Oracle?
Explain the difference between sap and oracle?