how to find the second highest salary from emp table?
Answer Posted / rajkumar
SELECT * FROM TABLE WHERE columnName =
(SELECT MAX(column_name) FROM TABLE WHERE
column_name<(SELECT max(column_name) FROM TABLE))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to run sql*plus commands in sql developer?
How do I remove all records from a table?
Can we create clustered index without primary key?
What is string join?
Will truncate release space?
What are the different operators available in sql?
How to check if a column is nullable before setting to nullable?
What are field types?
What is an exception in pl/sql?
Explain what is a column in a table?
What is benefit of creating memory optimized table?
what is a join? : Sql dba
define join and explain different type of joins? : Sql dba
What is clause in sql?
how can we repair a mysql table? : Sql dba