How do you retrieve the last N records from a table?
Answer Posted / ajit
SELECT RN, Ename
FROM ( SELECT Rownum RN, Ename
FROM Emp )
WHERE RN = &Grecno;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is not equal in sql?
What is the difference between partition and index?
What is the difference between a primary key and a unique key?
Is sql scripting language?
What is denormalization in a database?
What is set serveroutput on in pl sql?
Explain the uses of a database trigger?
Explain the commit statement.
Explain the difference between drop and truncate commands in sql?
What does fetching a cursor do?
how to get a list of all tables in a database? : Sql dba
What are three advantages to using sql?
What is procedure explain with program?
Which sql most popular?
How do I pipe the output of one isql to another?