Write a query to find second highest salary of an employee.
Answer Posted / jeff
select max(salary)
from Emp
where rownum < 2;
| Is This Answer Correct ? | 3 Yes | 19 No |
Post New Answer View All Answers
What is a primary key sql?
does sql support programming? : Sql dba
what are aggregate and scalar functions? : Sql dba
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
What are pl/sql cursors?
what is union? : Sql dba
Is grant a ddl statement?
what is the maximum length of a table name, database name, and fieldname in mysql? : Sql dba
explain commit and rollback in mysql : sql dba
What are the types of sql commands?
Which constraints we can use while creating database in sql?
which tcp/ip port does sql server run on? : Sql dba
What are the types of functions in sql?
What is before and after trigger?
What is pl sql quora?