To find second largest salary in Employee table
Answer Posted / anjum
SELECT MAX(SALARY)FROM EMP WHERE SALARY(SELECT MAX(SALARY)
FROM EMP)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to delete existing triggers using "drop trigger"?
what are the different stages of Report Processing?
What are the tables in sql?
Describe in brief system database.
Explain the creation and execution of a user-defined function in the sql server?
Why I am getting "the microsoft .net framework 2.0 in not installed" message?
Explain what is use of dbcc commands?
Find nth lowest salary or get nth lowest salary?
What are the pros and cons of putting a scalar function in a queries select list or in the where clause?
Explain few of the new features of sql server 2008 management studio
What is clustered primary key?
What is a view and what are its advantages?
What are the difference between primary key and unique key? : sql server database administration
What happens if the update subquery returns multiple rows in ms sql server?
Define Wed Edition in SQL Azure?