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
Explain about post-relational databases?
Explain about xml databases?
What are the constraints on severity level in raiseerror?
What is DB Development software?
Hi , any one can help me on the same,this is regarding the Informatica Function doc,i want to know how developer is will develop the mapping. pl forwar the any function doc .just for my references. svlc75@yahoo.co.in
What is database design and development?
Explain about the relational database?
What is the database development process?
How to combine two function together?
How is data stored in dbms?
Does QTP Support the Propjects which are running in Dot Net? As we are starting with new project in Dot net need to use automation tool?Please advice & let me know what would be the best.
What are data modelling techniques?
When installing the datastage7.5x2 edtion iam getting aproblem i.e the cpu count is 2 but the cpu count in installation is one . how can i install in my p.c (system is dual core).
Explain about relational database management systems?
The count() function always returns a int value type what should you do if you need to count rows from a query which you know will return a value that is too large for an int value type?