How do you retrieve the last N records from a table?
Answer Posted / rajat
SELECT * FROM EMP A
WHERE ROWID NOT IN
(SELECT ROWID FROM RAJ WHERE ROWNUM<=(SELECT COUNT(1) FROM RAJ )-10);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can I learn sql in a week?
what are all the different normalizations? : Sql dba
Mention what pl/sql package consists of?
What is primary key in db?
Explain the savepoint statement.
What is indexing oracle sql?
what is self-join? : Sql dba
What are dml commands?
What is interval partition?
What is the current version of sql?
How do I run sql?
What is difference sql and mysql?
What are the types of index in sql?
What is the maximum size of sqlite database?
How do you clear the screen in sql?