how to retrieve the top 2 salaried persons from a database?
Answer Posted / rajkumar
select top 1 colmn from table_name where colmn in
(select top 2 colmn from table_name where colmn is not
null order by colmn desc)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain what is rdbms?
What does pl sql developer do?
What is a procedure in pl sql?
How to raise user-defined exception with custom sqlerrm ?
Why having clause is used in sql?
what is 'mysqlimport'? : Sql dba
How does sql*loader handles newline characters in a record? : aql loader
What are few of the schema objects that are created using PL/SQL?
what are the differences between char and varchar? : Sql dba
How many tables can a sql database have?
what is the syntax for using sql_variant_property? : Transact sql
Why commit is not used in triggers?
What is server name sql?
how to use case expression? : Sql dba
How do you delete a table?