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 create a temporary table in oracle?
What is a cognitive schema?
What is concurrency in oracle?
How to define an anonymous procedure with variables?
Which is faster join or subquery in oracle?
What is Virtual Private Database in Oracle?
Explain index?
How to drop a stored procedure in oracle?
Differentiate between function and procedure in oracle.
What the is the diff between local index and global index. give some example.
Is it possible to insert comments into sql statements return in the data model editor ?
What is a cursor and what are the steps need to be taken?
What is recovery manager in Oracle?
Explain the difference between a procedure and a function? What do you understand by those terms?
What is the best way to do multi-row insert in oracle?