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
What does stand for in sql?
Is time a data type in sql?
How many types of normalization are there?
What is procedure and function in sql?
What is oracle and pl sql?
Is vs as in pl sql?
What are the different types of functions in sql?
How can I delete duplicate rows?
What is the primary use of normalization?
Can we use pl sql in mysql?
How many disk partitions should I have?
How can check sql version from command line?
How do I debug a stored procedure?
What is denormalization in a database?
What is primary key and unique key?