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 / ajit
SELECT MIN(Obs)
FROM <Table_name>
UNION ALL
SELECT MAX(Obs)
from <Table_name>;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to pronounce postgresql?
What are the dml statements?
What are conditional predicates?
explain the advantages and disadvantages of stored procedure? : Sql dba
Can one improve the performance of sql*loader? : aql loader
how can you see all indexes defined for a table? : Sql dba
How do I install sql?
Is sql a case sensitive language?
What is composite data type in pl sql?
Can you join views in sql?
What is AUTH_ID and AUTH_USER in pl/sql ?
how can I make a script that can be bi-language (supports english, german)? : Sql dba
Show how functions and procedures are called in a pl/sql block.
Can we rollback after truncate?
What are the datatypes available in pl/sql ?