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 dba in sql? : SQL DBA
What is type and rowtype in pl sql?
How do you optimize a stored procedure in sql?
what is an extent ? : Sql dba
What are the uses of sysdate and user keywords?
What are the string functions in sql?
Define a temp table?
Is sql difficult?
What is indexing in sql and its types?
Describe sql comments?
Explain aggregate functions are available there in sql?
What trigger means?
What is pl sql record in oracle?
Which query operators in sql is used for pattern matching?
Explain foreign key in sql?