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
Explain the use of constraints option in exp command.
What is a system tablespace?
How to initialize variables with default values?
What is the difference between alert log file and tarce file ?
What is a nvl function? How can it be used?
How to commit the current transaction in oracle?
What are the limitations oracle database 10g xe?
Explain user account with reference to oracle.
How many categories of data types?
Calculate difference between 2 date / times in oracle sql?
What is sequence?
How to assign values to data fields in record variables?
What is an oracle tablespace?
How to install oracle odbc drivers?
What is the difference between substr & instr functions?