How to retrieve first and last records from a table?
Answer Posted / avnish srivastava-test engg fc
select* from employees where rowid=(select min(rowid) from
employees)
union
select* from employees where rowid=(select max(rowid) from
employees)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a tns service name?
20. Using a set operator, display the client number of all clients who have never placed an order.
What is a initialization parameter file in oracle?
What is literal?
Explain database link?
How to convert numbers to characters in oracle?
Explain oracle data types with examples?
What privilege is needed for a user to create views in oracle?
What is parameterized cursor in oracle?
How to write a query with an inner join in oracle?
What are dml statements in oracle?
Can the query output be sorted by multiple columns in oracle?
How to add another datafile to a tablespace?
What is dynamic proxy?
Can a formula column referred to columns in higher group ?