how to find the second highest salary from emp table?
Answer Posted / mona thakur
SELECT *
FROM emp
WHERE salary < (
SELECT max( salary )
FROM emp )
ORDER BY salary DESC
LIMIT 1
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many commands are in sql?
What is union, minus and interact commands?
How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?
What sql database should I use?
What is pl sql architecture?
What is sql analyzer?
Why are sql stored procedures used?
How to fix oracle error ora-00942: table or view does not exist
what is clause? : Sql dba
What found sql?
How do I run a pl sql procedure in sql developer?
what are different types of collation sensitivity? : Sql dba
How many rows can sqlite handle?
What are sql ddl commands?
What is t sql used for?