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
You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?
What is the difference between substr & instr functions?
Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables
Who developed oracle & when?
How to check the oracle tns settings?
What is a synonym? What are its various types?
Differentiate between function and procedure in oracle.
What is a nvl function?
Explain what does a control file contain?
How to assign values to data fields in record variables?
How to invoke the data pump export utility?
How to use existing values in update statements using oracle?
Hi this srilatha. I comlpeted my Oracle-hrms. can u provide me interview questions on Core hr, payroll,sshr,OLM etc..
What is the difference difference between $ORACLE_HOME and $ORACLE_BASE.
How to create a new view in oracle?