Write a query to find second highest salary of an employee.
Answer Posted / shahid parvez
select max(sal) from Emp where sal < (select max(sal) from
Emp)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is procedure in pl sql?
How many joins in sql?
Which is better cte or subquery?
Is grant a ddl statement?
Can you have more than one key in a database?
How do I add a primary key to a table?
Does group by remove duplicates?
What is sql constant?
What is t-sql? : Transact sql
What is a left inner join?
What are different types of functions in sql?
What is a subquery in sql?
How does a self join work?
what is a stored procedure? : Sql dba
What are different types of indexes?