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 to see the table columns used in an index?
What is index in Oracle?
What is a named program unit?
Can select statements be used on views in oracle?
Which is better Oracle or MS SQL? Why?
Is it possible to split the print reviewer into more than one region ?
What is tns entry?
Explain table?
What are privileges and grants?
What are the attributes of the cursor?
Why does oracle 9i treat an empty string as null?
How is it different from a normal table?
How to create tables for odbc connection testing?
How to use attributes of the implicit cursor in oracle?
What types of joins are used in writing subqueries?