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 is a trigger and what are its types?
Why do we use coalesce function in oracle?
Explain the use of grant option in exp command.
In Oracle Applications We are Using Sub Ledger Accounting. When we Transfer the Data all modules (AP,AR,CE,FA) to SLA We done Some customizations? What are They??
What is Library Cache in Oracle?
i have a question here... As of my knowledge, when we apply an index (b-tree)on a column, internally it arranges the data in b-tree format and do the fetching process correspondingly... and my quetion is... How a bit-map index arranges the data internally when applied on a column?IS it in b-tree format or whatelse?
what is reindexing?
What happens to the indexes if a table is recovered?
Can we call procedure inside function in oracle?
Does facebook use oracle?
Where is the export dump file located?
Can we protect our pl/sql source code?
Briefly explain what is literal? Give an example where it can be used?
What is the scope of a local variable?
What is a dynamic performance view in oracle?