how to find the First and Last Observation from the table:
Ex: OBS Name Sal Ans like: OBS Name Sal
105 E 5000--> 105 E 5000
102 B 2000 104 D 4000
103 C 3000
101 A 1000-->
104 D 4000
Answer Posted / shailesh jori
select * from table_name where rowid=(select min(rowid) from table_name) or rowid=(select max(rowid) from table_name)
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Is sql better than access?
How does index help in query performance?
What is the use of & in pl sql?
What do you understand by pl/sql cursors?
What is a primary key called that is made up of more than one field?
Can triggers stop a dml statement from executing on a table?
What is sap sql?
What is sql stand for?
What is an invalid partition table?
Explain unique key in sql.
Which query operators in sql is used for pattern matching?
Differentiate between sga and pga.
How you improve the performance of sql*loader? : aql loader
What are records give examples?
Explain the significance of the & and && operators in pl sql.