write a query for the fifth highest salary?
Answer Posted / shahid
select *from(select sal,rank() over(order by sal desc)as sal_rank from emp) where sal_rank=5;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
I have single column in a file. Input 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 my output is file 1 have 1,2,3,10,11,12 file 2 have 4,5,6,13,14,15 and file 3 have 7,8,9 how is it possible in datastage
Explain various types of locks in a transaction? Which is better and why?
how to send multiple records which matches all the condition in the lookup transformation ? (if lookup matches the codition for duplicate values)
What is database server and how it works?
Display the employees whose salary is less than average salary.
WHAT IS THE PURPOSE OF TESTING INTEGRITY OF THE UNIVERSE?
What is the difference between oracle and MS Access?
What are the various ways to execute a query in teradata?
Why do we need distributed database?
Explain the field term used in database.
What do you mean by database?
Is storing images in a database a good idea?
How many indexes can be created on a table?
What is a database call?
Can you tell any two advantages of stored procedures?