how to get second highest salary in SQL(as/4000
Answer Posted / sachin
select max(salary) from emp_salary where salary<(select
max(salary) from emp_salary);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the main features of cursor?
Explain the difference between cursor declared in procedures and cursors declared in the package specification?
What is the advantage of index in sql?
Is sql port 1433 encrypted?
what does the t-sql command ident_incr does? : Transact sql
What is the difference between microsoft sql and mysql?
What is a natural join?
How do you determine the current isolation level? : Transact sql
how to use regular expression in pattern match conditions? : Sql dba
What is normalisation in sql?
What does truncate mean in sql?
Can we delete column in sql?
what are the different tables present in mysql? : Sql dba
What is sql partition function?
how to drop an existing index in mysql? : Sql dba