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

Answer Posted / naveen

SELECT D.DEPTNO,D.DNAME,MAX(SAL) FROM EMP E,DEPT D WHERE
D.DEPTNO=E.DEPTNO GROUP BY D.DEPTNO,D.DNAME;

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When system tablespace is created?

605


Is it possible to insert comments into sql statements return in the data model editor ?

2069


What is an oracle user role?

569


How to write date and time interval literals in oracle?

575


What are the limitations oracle database 10g xe?

572






Explain the truncate in oracle?

549


Explain oracle instance.

686


What is an oracle user account?

582


What happens if the imported table already exists?

549


How to view all columns in an existing table?

551


What is a cursor and what are the steps need to be taken?

601


Can select statements be used on views in oracle?

596


What is a trigger oracle?

565


What are a collation and state the different types of collation sensitivity?

551


What is proxy method?

545