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 are the numeric comparison operations?
What happens if you use a wrong connect identifier?
What is connection pool in oracle?
What is blob datatype?
What query tells you how much space a tablespace named test is taking up, and how much space is remaining?
hey friends, What are the steps I can do to transfer the database from Microsoft Access 2003 to oracle10g (or SQL) Best regards
Difference between oracle's plus (+) notation and ansi join notation?
What are the differences between blob and clob in oracle?
How to define a data field as not null?
How to assign values to data fields in record variables?
Differentiate between pre-select and pre-query?
Explain the use of record option in exp command.
What is meant by recursive hints in oracle?
How to start a specific oracle instance?
What is Redo Log Buffer in Oracle?