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
How do I make my sql query run faster?
How many databases can sql express handle?
What is view explain with example?
What is index example?
What are sql*plus environment variables?
What is the purpose of normalization?
What is difference between procedure and trigger?
what is oracle database ? : Sql dba
Is merge a dml statement?
What is the difference between left join and right join?
How does one load ebcdic data? : aql loader
Why is sharding used?
how to shutdown mysql server? : Sql dba
What is difference sql and mysql?
How many postgresql users are there, worldwide?