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
Differentiate between function and procedure in oracle.
How to count groups returned with the group by clause in oracle?
Explain the use of show option in imp command.
Explain the use of tables option in exp command.
How to connect ms access to oracle servers?
how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?
What is the difference between hot backup and cold backup in oracle?
What is clustered table in Oracle?
How to sort the query output in oracle?
What is tns service name?
Can we commit inside a function in oracle?
What is the minimum client footprint required to connect c# to an oracle database?
What is a trigger and what are its types in oracle?
What is sharded cluster?
how to handle exceptions in post production