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
Which join condition can be specified using on clause?
explain the options of myisamchk to improve the performance of a table. : Sql dba
What is constant in pl sql?
Where the sql database files are stored?
How bulk collect improves performance?
What are sql functions? Describe in brief different types of sql functions?
what are all the common sql function? : Sql dba
Are stored procedures faster than queries?
What are the different types of sql commands?
What is pl sql commands?
Does mysql support pl sql?
What is the difference between local variables and global variables?
Write a sql query to convert all character to uppercase after hypen.
How do you update sql?
What are sql queries used for?