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 are the default admin accounts in Oracle 10g ?
What is Reduced List of Values?
Give the various rollback segment states.
How to grant create session privilege to a user in oracle?
How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?
Query to retrieve record for a many to many relationship ?
What is an oracle table?
What is the difference between postgresql and oracle?
How to add another datafile to a tablespace?
What is a cursor and what are the steps need to be taken?
Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..
Explain the dml?
Is oracle a programming language?
What are the varoius components of physical database structure of oracle database?
How to convert characters to times in oracle?