how to retrieve 1st and last row of table without using
group functions??
Answer Posted / ajitnayak
SELECT *
FROM EMP
WHERE ROWID = (SELECT MIN(ROWID) FROM EMP)
UNION
SELECT *
FROM EMP
WHERE ROWID = (SELECT MAX(ROWID) FROM EMP)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a static data dictionary in oracle?
Explain oracle data types with examples?
What is the minimum client footprint required to connect c# to an oracle database?
what happened to the global index when I truncate the data in one of the partition?
How to recover a dropped table in oracle?
How to export data to a csv file?
What happens if you set the sga too low in oracle?
How to use "if" statements on multiple conditions?
What is the data pump export utility?
What is the difference between 10g OEM and 11g OEM?
What happens if recursive calls get out of control?
What is the use of oracle?
Why is oracle used?
What is a database schema in oracle?
How to retrieve data from an explicit cursor?