how to retrieve 1st and last row of table without using
group functions??
Answer Posted / sudipta santra
For the 1st row:
select * from emp where rownum<2 order by empno;
For the last row:
select * from emp where rownum<2 order by empno desc;
| Is This Answer Correct ? | 14 Yes | 5 No |
Post New Answer View All Answers
What is oracle datasource?
Who developed oracle & when?
What is a data lock in oracle?
How to define and use table alias names in oracle?
How to run create database statement?
How to do a full database export?
Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com
What is the purpose of save points in oracle database?
How to create a testing table in oracle?
How to define a record variable to store a table row?
Explain the difference between replace() and translate() functions in oracle?
Explain what are the characteristics of data files?
Explain oracle’s server parameter file.
What are named parameters?
Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?