how to calcuate the second highest salary of he employee
Answer Posted / shailesh
select sal from emp where sal=(select max(sal) from emp
where sal<(select max(sal) from emp);
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of double ampersand (&&) in sql queries? Give an example
Why is the cursor important?
What is the difference between microsoft sql and mysql?
What is the basic form of sql query?
What is character functions?
What does dml mean?
How to select random rows from a table?
What is sqlerrm?
Can triggers stop a dml statement from executing on a table?
How you can copy a file to file content and file to pl/sql table in advance pl/sql?
Can you have a foreign key without a primary key?
What is difference between nchar and nvarchar?
What is union?
How will you distinguish a global variable with a local variable in pl/sql?
How to create an array in pl/sql?