how to get second highest salary in SQL(as/4000
Answer Posted / dharmendra
select max(salary) from table
where salary < (select max(salary) from table);
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Does sql full backup truncate logs?
Explain how you can copy a file to file content and file to pl/sql table in advance pl/sql?
What is the purpose of cursors in pl/sql?
how to enter binary numbers in sql statements? : Sql dba
what are the types of subquery? : Sql dba
Explain table and field in sql?
How do I create a memory optimized filegroup?
What is microsoft t sql?
What is a sql trace file?
What is break?
Explain what is sql*plus?
How can a pl sql block be executed?
What is type and rowtype in pl sql?
What is sharding in sql?
Can we create index on primary key?