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
What are the ways on commenting in a pl/sql code?
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
What is union and union all keyword in sql?
What is recursive join in sql?
What is a join query?
What's the difference between inner join and left join?
Are subqueries faster than joins?
what is timestamp in mysql? : Sql dba
what is the difference between union and union all? : Sql dba
What is a unique key?
What is the left table in sql?
How many scalar data types are supported in pl/sql?
Which software is used for pl sql programming?
what are the t string functions available in tsql? : Transact sql
Explain the difference between triggers and constraints?