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 / abc

SELECT * from empl WHERE ROWID IN (
SELECT MAX(ROWID) FROM empl
UNION
SELECT MIN(ROWID) FROM empl
);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of constraints option in exp command.

1009


What is a system tablespace?

1021


How to initialize variables with default values?

1185


What is the difference between alert log file and tarce file ?

2118


What is a nvl function? How can it be used?

972


How to commit the current transaction in oracle?

1062


What are the limitations oracle database 10g xe?

994


Explain user account with reference to oracle.

941


How many categories of data types?

954


Calculate difference between 2 date / times in oracle sql?

1005


What is sequence?

1029


How to assign values to data fields in record variables?

988


What is an oracle tablespace?

1006


How to install oracle odbc drivers?

1052


What is the difference between substr & instr functions?

1156