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
What is oracle pl sql developer?
What will you get by the cursor attribute sql%notfound?
Can you have more than one trigger on a table?
What is the difference between having and a where in sql?
What is the difference between left join and right join?
Can %notfound return null after a fetch?
What is union, minus and interact commands?
can sql servers linked to other servers like oracle? : Sql dba
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
How you can copy a file to file content and file to pl/sql table in advance pl/sql?
What is pl sql package?
What is parallel hint?
What is the left table in sql?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
is mysql query is case sensitive? : Sql dba