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 / shilpa
1) select dept , max(sal) from E where month=JAN';
2) select dept , max(sal) from E ;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain the use of indexes option in imp command.
Explain oracle 12c new features for developers?
What is the best way to do multi-row insert in oracle?
How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?
hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards
What is oracle database 10g express edition?
What is oracle datasource?
How to view the data files in the current database?
What are the limitations of check constraint?
How to end the current transaction in oracle?
Explain how you would restore a database using RMAN to Point in Time?
Can we store images in oracle database?
What is define in oracle?
What is an oracle transaction?
How data locks are respected in oracle?