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
Is nosql faster than sql?
What are the types of optimization?
What is the use of partition by in sql?
What is sql*loader?
What is mdf ldf and ndf?
How do I run a pl sql program?
How do you clear the screen in sql?
Which query operators in sql is used for pattern matching?
Define commit?
Can we use joins in subquery?
What is natural join in sql?
Explain the uses of database trigger.
How do I count records in sql?
What is cross join sql?
Explain sql data types?