a query to select maxmun 3 salaries of employee table
Answer Posted / ron
if you need to select by department then analytic function
is more readable:
1. use row_number() partition by dept order by sal desc as rn,
2. in where clause choose rn <4;
you can use rank() instead; if 2 or more employees have same
salary.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What are data pump export and import modes?
types of indexes and the rationale behind choosing a particular index for a situation.
How do I start tns listener?
What are the advantages of oracle 12c?
What is meant by joins?
How to convert csv to table in oracle?
What are the different types of database objects?
What is the data pump import utility?
15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.
can u plz provide me oca sql dumps please i need them
How different is ms access and oracle?
Can a formula column referred to columns in higher group ?
How to experiment a data lock in oracle?
What is a database table in oracle?
What is the parameter mode that can be passed to a procedure?