how will I find the first 5 highest salaried employees in
each dept in oracle.
Answer Posted / md valiyullah
select max(sal)-5 from emp where dept = 'sale'
union all
select max(sal)-5 from emp where dept = 'purchase'
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
what's query optimization and without use of IN AND Exist can we get another way data from query
What are the uses of a database trigger?
Explain parameter file in oracle.
Explain the difference between a procedure and a function?
How to invoke the data pump export utility?
Explain what are synonyms used for?
How to use attributes of the implicit cursor in oracle?
What is the maximum limit on the number of columns in a table?
What are the attributes of cursor?
How to convert numbers to characters in oracle?
Oracle
Explain alias?
How to create a new oracle data file?
How to list all indexes in your schema?
How to pass a cursor variable to a procedure?