How do you retrieve the last N records from a table?
Answer Posted / manas ranjan
the RANK() and DENSE_RANK() functions can be used to
determine the LAST N or BOTTOM N rows.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Why is the cursor important?
Why functions are used in sql?
What is sql lookup?
what are the authentication modes in sql server? How can it be changed? : Sql dba
What is pragma in sql?
What is scalar function in sql?
What is the use of %rowtype?
What is the purpose of primary key?
How do I find sql profiler?
what is a relationship and what are they? : Sql dba
What is the difference between python and sql?
Show the cursor attributes of pl/sql.
Is it important to partition hard disk?
How do you delete data from a table?
What is query optimization in sql?