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
Is oracle a programming language?
What do you mean by group by clause?
Can we protect our pl/sql source code?
What happens if you set the sga too low in oracle?
How to add another datafile to a tablespace?
How many categories of data types?
What to do if the startbd.bat failed to start the xe instance?
material view and view disadvantages?
What are the major difference between truncate and delete?
How do I use unicode codesets with the weblogic jdriver for oracle driver?
How to create a new table in oracle?
What are oracle functions?
What is control file used for?
What is literal?
What view(s) do you use to associate a users SQLPLUS session with his o/s process?