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
Does inner join return duplicate rows?
What is cursor and why it is required?
how to present a past time in hours, minutes and seconds? : Sql dba
what are all types of user defined functions? : Sql dba
What is nvarchar max in sql?
What is Histogram?
Can we have two clustered index on a table?
What is trigger in pl sql?
how to add a new column to an existing table in mysql? : Sql dba
How do you declare a user-defined exception?
What is cte sql?
Explain what is a database?
how to enter binary numbers in sql statements? : Sql dba
Can function return multiple values in sql?
What is aggregate function in sql?