how to retrieve 1st and last row of table without using
group functions??
Answer Posted / ajay reddy
Select * from (select e.*,rownum r from emp e) where r in(1,(select count(*) from emp));
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is logical backup in oracle?
What are advantages of dateset in datastage?
Does oracle database need java?
What's dateware house and what's clustor with practicle example
How different is ms access and oracle?
What do you mean by redo log file mirroring?
What is the difference between 10g OEM and 11g OEM?
How to get a create statement for an existing table?
What are the various constraints used in oracle?
Point out the difference between user tables and data dictionary?
What do you mean by cdb and pdb in oracle 12c?
Why cursor variables are easier to use than cursors?
What do you understand by a database object?
how the indexes are stored in the Oracle Database?
What are ddl statements in oracle?