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

SELECT * FROM(SELECT a.*,row_number() over(ORDER BY NULL)
rn FROM emp a)
WHERE rn=2

Is This Answer Correct ?    18 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cluster and non-cluster index?

1106


Can we delete column in sql?

1091


Does user triggers have entry for trigger with compilation errors?

1034


how is exception handling handled in mysql? : Sql dba

1075


how to convert character strings to dates? : Sql dba

1055


How to process query result in pl/sql?

1128


What does select * from mean in sql?

3225


What are sql data types?

1020


i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this

1580


What is the usage of when clause in trigger?

1051


What is a sql*loader control file?

1257


How do you get column names only for a table (sql server)?

1156


what are different types of collation sensitivity? : Sql dba

1065


What is sql architecture?

1045


What is oracle and pl sql?

1118