Find out the 3rd highest salary?

Answer Posted / srikanth

select q.sal
from emp q
where 3=(select distinct(count(b.sal))
from emp b
where q.sal<=b.sal)

Is This Answer Correct ?    17 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between pl/sql and sql?

619


Why indexing is needed?

519


How do we use distinct statement? What is its use?

556


write an sql query to get third maximum salary of an employee from a table named employee_table. : Sql dba

543


What is trigger price?

544






If the application is running very slow? At what points you need to go about the database in order to improve the performance?

568


How do I count rows in sql query?

493


What is AUTH_ID and AUTH_USER in pl/sql ?

1694


What does stand for in sql?

524


What is cte sql?

517


How do I run pl sql in sql developer?

630


What is sql character function?

546


How to check if a column is nullable before setting to nullable?

586


Why is normalization important?

543


how do you control the max size of a heap table? : Sql dba

538