adspace
Write a query to get last 10 records from the table.
Answer Posted / swastik
SELECT ROWNUM, E1.*
FROM
(
SELECT * FROM Emp
ORDER BY ROWNUM DESC
)E1
WHERE ROWNUM <= 10
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is your daily office routine?
What is the best sql course?
What is the current version of sql?
how to start mysql server? : Sql dba
Is primary key always clustered index?
Does group by remove duplicates?
What is the current version of postgresql?
Can delete statement be rollbacked?
how many tables will create when we create table, what are they? : Sql dba
Can we rollback truncate?
what is schema? : Sql dba
what are aggregate and scalar functions? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
how to escape special characters in sql statements? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba