Write a query to get last 10 records from the table.
Answer Posted / siddharthapenchala
select * from <TN>
minus
select * from <TN>
where
rownum <= (select count(*) - &n from <TN>)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to analyze tables with 'mysqlcheck'? : Sql dba
what is error ora-03113: end-of-file on communication channel?
What does pl sql stand for?
Difference between global and parameter variables?
The select into statement is most often used to create backup copies of tables or for archiving records?
What is Materialized View? In What Scenario we Use Materialized View?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
which operator is used in query for pattern matching? : Sql dba
What does truncate mean in sql?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
define sql delete statement ? : Sql dba
How to Execute a Package in PL/SQL.?
how to drop an existing index in mysql? : Sql dba
How can we find duplicate records in a table?
Explain the insert into statements in sql?