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

When do you get a .pll extension in oracle?

679


What is oracle datasource?

557


How to use "for" statements in oracle?

596


Is rowid unique in oracle?

532


How to convert character types to numeric types?

582






How to start instance with a minimal initialization parameter file?

542


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

2458


What is an oracle user account?

585


Explain self joins in oracle?

564


What is a relational database management system?

681


How to export data with a field delimiter?

582


What is a cursor variable?

580


What is an oracle transaction?

588


how to join query for one source type is oracle another source type is sql server ?

1995


What is user managed backup in Oracle?

615