How do you retrieve the last N records from a table?
Answer Posted / a g srikanth
SELECT *
FROM emp e
WHERE 1>
(SELECT COUNT(1) FROM emp f WHERE e.rowid<f.rowid
);
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is varchar data type in sql?
what is the difference between myisam static and myisam dynamic? : Sql dba
What is java sql connection?
How do I view a sql database?
How do I view a sql trace file?
how to extract a unit value from a date and time? : Sql dba
What is the largest value that can be stored in a byte data field?
Can a select statement fire a trigger?
what are sequences
What is materialized view in sql?
how to select first 5 records from a table? : Sql dba
Explain scalar functions in sql?
How do you concatenate in sql?
How to fix oracle error ora-00942: table or view does not exist
What does inner join mean?