How to retrieve first and last records from a table?
Answer Posted / reddy
select*from emp where rowid in (select min(rowid),max(rowid) from emp);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the common oracle dba tasks?
How to define a data source name (dsn) in odbc manager?
why should i declare foreign key constraint as self relation instead of binary relation in tables ?
How to define an external table with a text file?
What is the difference between substr and instr?
How to execute a stored program unit?
How do I limit the number of rows returned by an oracle query after ordering?
What are the different types of record groups in oracle? Explain each of them
What is a cursor variable?
Explain coalesce function?
what is dynamic SGA and static SGA
How to start an oracle instance?
How to create a new user account in oracle?
What is a trigger and what are its types?
What is the usage of analyze command in oracle?