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 convert characters to dates in oracle?

559


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1477


What is ADDM Advisor in Oracle?

656


What is translate in oracle?

615


What is logical backup in oracle?

574






How to get last row id?

553


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

511


What is Library Cache in Oracle?

639


Is oracle a language?

522


What is max rowid in oracle?

551


How do I recompile a procedure in oracle?

527


How to check your oracle database 10g xe installation?

577


Where is the export dump file located?

567


What is connection pool in oracle?

556


What is the difference between alert log file and tarce file ?

1628