Write a query to get last 10 records from the table.
Answer Posted / sudhir
select rownum, p.*
from (select * from <table name> order by param_cd desc) p
where rownum <= 10 ;
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What operators deal with null?
What is view explain with example?
What is mdf ldf and ndf?
What is meant by user defined function?
Can we use joins in subquery?
What is execute immediate?
Why is normalization important?
What is the use of sqlerrd 3?
How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?
How do I save a sql query?
Can you rollback after commit?
How to install oracle sql developer?
Is sql a case sensitive language?
how to analyze tables with 'mysqlcheck'? : Sql dba
what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba