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
What is a sql select statement?
what is top in tsql? : Transact sql
What is the use of <> sql?
Explain the difference in execution of triggers and stored procedures?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
What is difference between rank () row_number () and dense_rank () in sql?
what is 'trigger' in sql? : Sql dba
How do I truncate a sql log file?
Which command is used to call a stored procedure?
What is mutating trigger?
What is the main reason behind using an index?
describe mysql connection using mysql binary. : Sql dba
List the different type of joins?
What is the difference between view and stored procedure?
What is java sql package?