how to check the 3rd max salary from an employee table?

Answer Posted / neeraj79

SELECT DISTINCT salary
FROM employee
ORDER BY salary DESC
LIMIT(2,1)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a database? : Sql dba

610


what is sql? : Sql dba

557


Is sql pronounced sequel or sql?

746


Is truncate ddl or dml?

545


Difference between truncate, delete and drop commands?

559






Is it possible to update views?

542


What are the types of keys?

516


What is sqlerrd?

528


what is a constraint? : Sql dba

715


What is embedded sql in db2?

507


How do I start sql from command line?

537


How to select random rows from a table?

525


Does pl/sql support create command?

578


What is mutating error in pl sql?

553


what are aggregate and scalar functions? : Sql dba

554