Given an employee table, how would you find out the second
highest salary?
Answer Posted / rony sunny
SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP 2 salary
FROM employee
ORDER BY salary DESC) a
ORDER BY salary
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Write short notes on manual refreshes.
Explain the cube operator?
What is the database development process?
Can an extended stored procedure be called from inside a user-defined function?
How can you log an error to the server event log from a stored procedure?
Explain the process of the user request and data generating?
How to generate OIDS
1. Using the XML Document below, with the URI “recipe.xml”
define
the following queries in XQuery:
a.) Give the names of all breakfast in the menu.
b.) Select breakfasts that have price lower than $7.00?
Explain about network model?
How long can an error message be in raiseerror function?
Explain about xml databases?
What is a database development?
What is dbms explain in brief?
What is the maximum length of an extended property?
What are the key features of dbms?