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
How to drop an existing view in oracle?
How do I spool to a csv formatted file using sqlplus?
Whats the benefit of dbms_stats over analyze?
How to pass parameters to procedures?
What are the database administrators utilities available?
what is normalisation?what are its uses?
Explain joins in oracle?
What is an oracle user account?
Explain enable novalidate constraint.
Explain what does a control file contain?
How to define an oracle sub procedure?
How to create a stored procedure in oracle?
Explain the use of Merge statement in oracle 11g
Point the difference between translate and replace?
What is an oracle database table?