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 / arjun
select * from tablename where rowid=1
union
( select * from tablename
intersect
select * from tablename where rowid = ( select max(rowid)
from tablename));
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
What is the difference between nvl function, ifnull function, and isnull function?
What is rtm stands for?
Is pl sql useful?
What is trigger types of trigger?
What is pl sql and why it is used for?
Why we use sql profiler?
what is view? : Sql dba
What is an oracle stored procedure?
Is sql microsoft?
What is cte?
What are the usages of sql?
how to get a list of columns in an existing table? : Sql dba
What is the difference between python and sql?
What is recursive join in sql?
Can we update views in sql?