write a query for the fifth highest salary?
Answer Posted / venkates
select distinct(a.sal) from emp a where 5=(select
count(distinct(b.sal)) from emp b where a.sal<=b.sal)
Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
Is hive a database?
Under which circumstance should you create an index on a table?
Data structure used to implements a menu:
What advantages does DBMS have over traditional file systems?
Explain the table term used in database.
What does specialization in DBMS mean?
Explain transaction manager?
List various types of log-based recovery in DBMS.
Is redis in memory database?
What do you mean by database?
What is a sequence? Explain it with one example?
can we delete autodiff back up that we have set through sql server agent.
Should I store images in database?
what is transaction state, buffer management, shadow paging
What is dialect in database?