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 | 3 No |
Post New Answer View All Answers
How to define and use table alias names in oracle?
Can we protect our pl/sql source code?
hi friends i completed b.com 2004.i have 3y accounting exp. in manufacturing company.now i have completed oracle finance.pls suggest me how will get job in oracle.can i get job in oracle.
Difference between oracle's plus (+) notation and ansi join notation?
List out the types of joins.
How to see free space of each tablespace?
How do I know if oracle client is installed on windows?
What is backup in Oracle?
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
How to use "for" statements in oracle?
Explain the difference between sql and oracle?
How to generate query output in html format?
Can we store pictures in the database and if so, how it can be done?
what is the difference between substr and instr function in oracle?
Why do you use stored procedures and state some of its disadvantages?