How to retrieve first and last records from a table?
Answer Posted / girija.112
select *
from employees
where rowid = (select max(rowid)
from employees)
or rowid =(select min(rowid)
from employees)
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain what are the uses of rollback segment?
What is ceil and floor in oracle?
How to invoke the original export import utilities?
What is Library Cache in Oracle?
Difference between inner join vs where ?
What is oracle sid?
What are the different types of failures that occur in Oracle database?
Explain view?
What is oracle instant client?
What is system tablespace?
Explain an index?
Point the difference between translate and replace?
What is snapshot is too old? Give and example for better understand.
What is oracle join syntax?
How to display row numbers with the records?