Find out the 3rd highest salary?
Answer Posted / nikhilesh roy
WITH
CTE as
(select emp_id,salary,rn=row_number() over (order by salary desc) from emp_table )
select * from CTE where rn=3;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why do we use procedures in sql?
What is substitution variable?
What trigger means?
Is a foreign key always unique?
what are the 'mysql' command line arguments? : Sql dba
what is 'mysqlcheck'? : Sql dba
Mention what is the function that is used to transfer a pl/sql table log to a database table?
Can we call a function containing dml statements in a select query?
what is timestamp in mysql? : Sql dba
which types of join is used in sql widely? : Sql dba
What is the use of triggers?
How do we accept inputs from user during runtime?
How many types of normalization are there?
What is the difference between delete, truncate and drop command?
What is out parameter used for eventhough return statement can also be used in pl/sql?