how to findout the 100th maximum salary

Answer Posted / lince

select T.* from(
select row_number() over (order by salary desc)as rno,salary from table )T
where T.rno=100

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql*plus environment variables?

559


what is an index? : Sql dba

527


What is sql partition function?

618


What are synonyms in sql?

534


How do I view a view in sql?

508






Define implicit and explicit cursors.

629


What are tables and fields?

593


Is truncate ddl or dml?

545


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

497


How do you update a sql procedure?

527


What is rank function in sql?

534


what are properties of a transaction? : Sql dba

561


how does a local variable is defined using t-sql? : Transact sql

546


Which certification is best for sql?

541


Which are the different character-manipulation functions in sql?

548