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 retrive only second row from table?

Answer Posted / ayan

SELECT * FROM employees a
WHERE 2 = (SELECT COUNT(rowid)
FROM employees b
WHERE a.rowid >= b.rowid);

this will select the 2nd row.. if we write instead of 2 it
will select 8th row.... login to hr/hr schema and run the
code. it will work fine..

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is union and union all keyword in sql and what are their differences?

1043


What is delimiter in pl sql?

986


What does := mean in pl sql?

989


How do you go back in sql?

939


What is snowflake sql?

1010


What is scalar function in sql?

973


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

1043


How to test for null values?

978


What is meant by truncate in sql?

1002


what is cursor. write example of it. What are the attributes of cursor.

1306


Which is better varchar or nvarchar?

931


Which command is used to call a stored procedure?

949


How do you determine the current isolation level? : Transact sql

1059


How to raise user-defined exception with custom sqlerrm ?

1060


What are the various levels of constraints?

1058