Write a query to get last 10 records from the table.
Answer Posted / akshaya
select * from last10
minus
select * from last10
where row >= (select COUNT(*)-10 from last10)
condition should be >= not <=
for all the above queries
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How you improve the performance of sql*loader? : aql loader
What are the syntax and use of the coalesce function?
How many sql statements are used?
How do I debug a stored procedure?
What is having clause in sql?
What is secondary key?
What is the usage of when clause in trigger?
does sql support programming? : Sql dba
What is dcl in sql?
What is a crud api?
Is it possible to include an insert statement on the same table to which the trigger is assigned?
what is uncommittable transactions? : Transact sql
Is sqlite thread safe?
How do I view a table in sql?
What are joins in sql?