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
How many types of table in Oracle?
What is an Oracle Instance?
How to get a create statement for an existing table?
What is bulk collect in oracle?
What is meant by a deadlock situation?
How to convert characters to numbers in oracle?
How to assign a tablespace to a users in oracle?
What are privileges and grants?
Can you drop an index associated with a unique or primary key constraint?
What is an oracle function?
How would you go about verifying the network name that the local_listener is currently using?
What is control file used for?
What is an index associated with a constraint?
Can a formula column be obtained through a select statement ?
How do I use unicode codesets with the weblogic jdriver for oracle driver?