Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to retrieve first and last records from a table?

Answer Posted / avnish srivastava-test engg fc

select* from employees where rowid=(select min(rowid) from
employees)
union
select* from employees where rowid=(select max(rowid) from
employees)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is oracle a programming language?

1037


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

2171


What happens to the current transaction if the session is killed?

1033


How can we find out the current date and time in oracle?

1129


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

2041


What is the scope of a local variable?

1119


What are the restrictions in a oracle read only transaction?

1079


What is translate in oracle?

1140


How to define an anonymous procedure without variables?

1191


How to set a transaction to be read only in oracle?

1137


How to import one table back from a dump file?

1081


Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?

1066


In what script is snap$ created? In what script is the scott/tiger schema created?

2759


In Oracle Clinical 4.5.0, can the VIEW_TEMPLATE_ID column in DATA_EXTRACT_VIEWS table contain NULL value?

2385


Explain about functional dependency and its relation with table design?

1059