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 tns file?
Explain the use of rows option in exp command.
What are oracle functions?
Is oracle a language?
How to drop an existing view in oracle?
How do I connect to oracle?
How to loop through a cursor variable?
What is the maximum number of triggers that can be applied to a single table?
Who developed oracle & when?
What privilege is needed for a user to create views in oracle?
Can we insert data in view oracle?
Typically, where is the conventional directory structure chosen for Oracle binaries to reside?
What are the components of logical database structure in oracle database?
Where is the export dump file located?
Explain the characteristics of oracle dba?