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 to calculate expressions with sql statements? : Sql dba
What are pl sql data types?
Is sql better than excel?
How many times can we commit in a loop?
What is the difference between null value, zero, and blank space?
How to set up sql*plus output format in oracle?
What is sap sql anywhere?
discuss about myisam key cache. : Sql dba
What is cursor in pl sql?
How many tables can you join in sql?
what is the difference between undefined value and null value? : Sql dba
What is a pdo connection?
Can we write dml inside a function in sql server?
What is pls integer?
What is the difference between join and natural join?