how to retrieve 1st and last row of table without using
group functions??
Answer Posted / nathan
SELECT *
FROM (SELECT emp.*, ROWNUM rn
FROM emp)
WHERE rn = 1 OR rn = (SELECT COUNT (*)
FROM emp);
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is oracle data type?
What is a parameter file in oracle?
How to lock and unlock a user account in oracle?
How to retrieve values from data fields in record variables?
What language does oracle use?
What is Virtual Private Database in Oracle?
What are the arithmetic operations?
How to install oracle database 10g xe?
What is tns entry?
What is data type in oracle?
20. Using a set operator, display the client number of all clients who have never placed an order.
How to create a testing table in oracle?
How do I escape a reserved word in oracle?
How to apply filtering criteria at group level in oracle?
What is an oracle user role?