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
How to display the current date in sql?
discuss about myisam index statistics collection. : Sql dba
What is difference between cursor and trigger?
Can a foreign key be a duplicate?
What is package in pl sql with an examples?
Is vs as in pl sql?
What is the usage of when clause in trigger?
explain the difference between myisam static and myisam dynamic. : Sql dba
What is full form of rtm?
What is difference between sql function and stored procedure?
What is the difference between distinct and unique in sql?
How do I turn a list into a table?
What is cte?
Is sql procedural language?
Is primary key an index?