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 group functions in oracle?
Can objects of the same schema reside in different tablespace?
What is translate in oracle?
What is ADDM Advisor in Oracle?
How to use "for" statements in oracle?
How to create a temporary table in oracle?
Please explain oracle left join with an example?
How to write date and time literals in oracle?
What is oracle datasource?
What happens to the current transaction if a ddl statement is executed?
How to call a sub procedure?
What are data pump export and import modes?
Will you be able to store pictures in the database?explain.
What is a view and how is it different from a table?
What is coalesce function?