Answer Posted / madhu
to get nth higest value
SELECT EMP_NAME,EMP_SALARY
FROM EMP_TABLE
ORDER BY EMP_SALARY DESC
LIMIT n-1, 1
this is for mysql server
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to assign values to data fields in record variables?
How to specify default values in insert statement using oracle?
What is the difference between translate and replace?
What is max rowid in oracle?
How different is ms access and oracle?
What do you understand by a database object? Can you list a few of them?
How to pass parameters to procedures in oracle?
What are the execution control statements in oracle?
What is bulk collect in oracle?
How can windows applications connect to oracle servers?
Which are the five query types available in oracle?
Explain self joins in oracle?
How to pass a parameter to a cursor in oracle?
What are the roles of dba?
What is meant by joins? List out the types of joins.