write a query for the fifth highest salary?

Answer Posted / bhramar

select top 1 Sal from(select distinct top 5 Sal from TestEmp order by Sal desc) a order by Sal

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of normalization? What is the use of it?

624


Explain database partitioning. What is its importance?

680


What are database connection details?

647


Should I store images in database?

584


wHat Is THE difference between MOVEL and MOVEL(P)……….. CAN ANYONE EXPLAIN ME..

2508






sparse lookup and where its options we find in OCI and db2?

1745


What is difference between clustered, non-clustered and unique index?

609


After normalization, what are the conditions which have to keep in mind to de-normalize it?

624


query to Compare data of two tables between two different Databases(Oracle and SQL Server) Eg., Source Database: Oracle Table: Employee Target Database : SQL Server Table : emp

1643


How to shrink a database?

546


I have single column in a file. Input 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 my output is file 1 have 1,2,3,10,11,12 file 2 have 4,5,6,13,14,15 and file 3 have 7,8,9 how is it possible in datastage

1195


Explain entity ?

603


There are three servers are run by Oracle, MS Access and .Net. What are the procedure fetching the values of two variables from two servers among these?

1709


Is database a hardware or software?

542


What is the function of cluster index?

617