Hi Everyone,
How to get fist and last record from a table in oracle?
Thanks in advance
Answer Posted / ataullah
Select * from emp where rowid=(select max(rowid) from emp) or rowid=(select min(rowid) from emp)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to use 'mysql' to run sql statements? : Sql dba
What is the difference between cluster and non-cluster index?
How do I view a procedure in sql?
What is difference between stored function and application function?
How to prepare for oracle pl sql certification?
how to concatenate two character strings? : Sql dba
Is sql pronounced sequel or sql?
Explain the components of sql?
What is vector point function?
How can triggers be used for the table auditing?
What is indexing oracle sql?
What is procedure explain with program?
what are the t string functions available in tsql? : Transact sql
What is error ora-01000: maximum open cursors exceeded
what is error ora-03113: end-of-file on communication channel?