how to find the second highest salary from emp table?
Answer Posted / shanmugasundaram
select min(salary) from tblempsal where salary in(select
distinct
top 2 salary from
tblempsal order by salary desc)
Is This Answer Correct ? | 20 Yes | 13 No |
Post New Answer View All Answers
what is sql? : Sql dba
What is a native sql query?
Can you sum a count in sql?
How to rename a column in the output of sql query?
What are the two parts of design view?
What is sql comments?
What is trigger in sql?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What is auto increment?
What are the different ways to optimize a sql query?
What do you mean by “trigger” in sql?
Can we use join in subquery?
Explain the significance of the & and && operators in pl sql.
What is 19 null in sql?
Can we use view in stored procedure?