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
what is the difference between inner and outer join? Explain with example. : Sql dba
Explain the uses of control file.
what are the different index configurations a table can have? : Sql dba
What is nvarchar in sql?
Is postgresql a nosql database?
What pl/sql package consists of?
Explain how to use transactions efficiently : transact sql
What is full join?
What are the different types of triggers?
what is a control file ? : Sql dba
Explain what is a subquery ?
Can you sum a count in sql?
What does where 1 1 mean in sql?
Why are aggregate functions called so?
Can you selectively load only those records that you need? : aql loader