Write a query to find second highest salary of an employee.
Answer Posted / arif saulat
select * from emp where sal <(select max(sal) from emp)
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is information schema in sql?
Is sql the best database?
What is a schema sql?
How do you exit in sql?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
What is cursor and why it is required?
Explain select statements in sql?
How delete all data from all tables in sql?
What is difference between primary and secondary key?
Can we call dml statement in function?
What is transaction control language (tcl)?
When you have to use a default "rollback to" savepoint of plvlog?
How many clustered indexes can you have?
Difference between table function and pipelined function?
What are different types of functions in sql?