HOW TO DISPLAY MAXIMUM SALARIES FROM EMP DEPARTMENT VISE ALONG
WITH DEPARTMENT NAMES? E.g EMP,DEPT

Answer Posted / guest

select *from emp where max(sal)=dept;

Is This Answer Correct ?    2 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is recovery manager in Oracle?

591


What is an oracle and why it is used?

623


How to divide query output into groups in oracle?

563


What are the attributes that are found in a cursor?

650


How to create an oracle database?

586






I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

1704


Can we connect to ORACLE db using Windows Authentication?

722


How to select some columns from a table in oracle?

553


What is the maximum limit on the number of columns in a table?

551


What is key preserved table?

567


how to handle exceptions in post production

950


What is meant by recursive hints in oracle?

620


Explain about achiever in sql?

584


What is the difference between pre-select and pre-query?

621


What is the use of aggregate functions in oracle?

581