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
Can you drop an index associated with a unique or primary key constraint?
What is a schema in oracle?
What is the dynamic sql in oracle?
Why do you use stored procedures and state some of its disadvantages?
What is the difference between online and offline backups?
How can windows applications connect to oracle servers?
Give syntax for SQL and ORACLE joins.
How can Oracle users be audited?
What is a table index in oracle?
What is SQL Tuning Advisor in Oracle?
Explain how you would restore a database using RMAN to Point in Time?
What are the differences between char and nchar in oracle?
How to connect to a local oracle 10g xe server?
How to define an anonymous procedure with variables?
what is meant by magic query