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 an escape character in sql?
Which sql most popular?
What does over partition by mean in sql?
Cite the differences between execution of triggers and stored procedures?
What is dynamic query?
Can we use joins in subquery?
What is tuple in sql?
Can a table contain multiple foreign key’s?
What is your daily office routine?
How much does a sql dba make? : SQL DBA
What has stored procedures in sql and how we can use it?
What are pl sql data types?
Can we insert data in view?
what are string data types? : Sql dba
Is sql a scripting language?