How to retrieve first and last records from a table?
Answer Posted / abc
SELECT * from empl WHERE ROWID IN (
SELECT MAX(ROWID) FROM empl
UNION
SELECT MIN(ROWID) FROM empl
);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we connect to ORACLE db using Windows Authentication?
How to write numeric literals in oracle?
What is dual table oracle?
What are the restrictions in a oracle read only transaction?
How to define a specific record type?
Can you have more than one content canvas view attached with a window ?
What is oracle open database communication (odbc)?
How to use existing values in update statements using oracle?
Difference between oracle's plus (+) notation and ansi join notation?
You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?
How to rebuild an index in oracle?
What language does oracle use?
What is the usage of merge statement?
How to define an oracle cursor variable?
How to convert numbers to characters in oracle?