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
What happens if you set the sga too low in oracle?
What are privileges and grants?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
What is an oracle cursor variable?
Query to retrieve record for a many to many relationship ?
What is SQL access advisor in Oracle?
What is hot backup and logical backup?
Can we use bind variables in oracle stored procedure?
Explain the use of online redo log files in oracle.
How to loop through data rows in the implicit cursor?
Can multiple cursors being opened at the same time?
What do you understand by database schema and what does it hold?
Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracles. What database recovery options are available? Database is in archive log mode.
How to login to the server without an instance?
Explain table?