Write a query to find second highest salary of an employee.
Answer Posted / amol londhe
Use the below Query:
Select Max(salary) from Emp
Where Max(salary) < (Select Max(salary) from emp
where emp-no=101);
| Is This Answer Correct ? | 10 Yes | 18 No |
Post New Answer View All Answers
What are pl/sql packages?
Can a procedure in a package be overloaded?
What is multiple columns?
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
What is varchar data type in sql?
How is indexing done in search engines?
How do I install microsoft sql?
how to include character strings in sql statements? : Sql dba
Can we group by two columns in sql?
How to run sql*plus commands in sql developer?
Why we use joins in sql?
Can we delete column in sql?
Explain ttitle and btitle.
What is a table in a database?
What's the difference between inner join and left join?