Table E:
Name dept month sal
1 A JAN 800
2 B APR 1000
3 A JAN 300
4 A JAN 600
5 C JUN 400


1) SELECT HIGHEST SAL PAID DEPT IN JAN MONTH?
2) WRITE QUERY GET MAX SAL DEPT NO?

Answer Posted / mayur

select max(sal) from e where sal in (select month form e
where month = 'JAN';

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to install oracle database 10g xe?

575


What is Reduced List of Values?

1716


What is a package in oracle?

575


What is the difference between post-database commit and post-form commit?

522


What are the execution control statements in oracle?

616






What's dateware house and what's clustor with practicle example

1655


What happens to the data files if a tablespace is dropped?

588


How does Oracle guarantee data integrity of data changes?

1946


Explain what are the characteristics of data files?

642


How to loop through a cursor variable?

580


What are a query and state the different types of queries and their uses?

522


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1524


How view is different from a table?

579


What is oracle used for?

544


What is an oracle database?

621