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 many types of triggers exist in pl/sql?
What does joining a thread mean?
Can we call stored procedure in function?
What is sql stand for?
How do I run a query in pl sql developer?
What is a sql schema used for?
What is difference between stored function and application function?
Define sql delete statement.
Can we use pl sql in mysql?
What is db journal file?
Which sql statement is used to return only different values?
What is the difference between an inner and outer join?
What is restrict in sql?
How many disk partitions should I have?
What is a database trigger?