How to retrieve first and last records from a table?
Answer Posted / girija.112
select *
from employees
where rowid = (select max(rowid)
from employees)
or rowid =(select min(rowid)
from employees)
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
what is normalisation?what are its uses?
Is rowid unique in oracle?
How to create a stored function in oracle?
How to calculate date and time differences in oracle?
What are ddl statements in oracle?
Explain the use of rows option in imp command.
HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE
How do we represent comments in oracle?
Explain the use of inctype option in exp command.
What is difference between sid and service name in oracle?
What is a directory object?
How to resolve name conflicts between variables and columns?
How do we get field details of a table?
Is oracle a language?
What is oracle open database communication (odbc)?