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
What are different joins used in sql?
what is rdbms? : Sql dba
How many joins can you have in sql?
What is trigger types of trigger?
what is auto increment? : Sql dba
What are the different types of sql commands?
Can we use ddl commands in pl sql?
Is and as keyword in pl sql?
What are basic techniques of indexing?
Can you inner join the same table?
what is collation? : Sql dba
How can you tell the difference between an index and a view?
What is varchar example?
Can there be more than one function with a similar name in a pl/sql block?
Whis is not false in primary key?