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
Does pl sql work in mysql?
Why should I use postgresql?
How do you modify a column in sql?
How many joins can you have in sql?
Explain the working of foreign key?
Explain what is sql?
What are the different types of constraints?
How can you select unique records from a table?
what is the use of double ampersand (&&) in sql queries?
What is auto increment feature in sql?
what is the difference between a web-garden and a web-farm? : Sql dba
What are sql built in functions?
how to use 'mysql' to run sql statements? : Sql dba
What are the three pl sql block types?
How to run sql commands in sql*plus?