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 / venkateswara reddy
1)select dept from E where sal=(select max(sal) from E where
month='JAN')
2)select dept from E where sal=(select max(sal) from E)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are the set operators union, union all, minus & intersect meant to do?
How to create a server parameter file?
Explain the use of owner option in exp command.
How to filter out duplications in the returning rows using oracle?
If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...
Explain oracle data types with examples?
Explain database link?
Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?
What is the difference between post-database commit and post-form commit?
How can we delete duplicate rows in a table?
What are the benefits of ordbms?
What exactly do quotation marks around the table name do?
Difference between the “verify” and “feedback” command?
What is java oracle used for?
What is the relation of a user account and a schema?