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...

suppose we have a table in which 200 rows. i want to find
101 row ? what the query....
and how we find 4th and 5th highest salary and 1 to 10
highest salary

Answer Posted / hemant

select * from emp where (rowid,0) in
(select rowid,mod(rownum,101) from emp)
and rownum=1

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

1021


What is using in sql?

1142


What are different methods to trace the pl/sql code?

1171


What are the different dcl commands in sql?

1234


describe mysql connection using mysql binary. : Sql dba

1123


Can primary key be changed?

955


what are enums used for in mysql? : Sql dba

1231


Can there be 2 primary keys in a table?

1046


How do you update a table in sql?

1041


What is raid? How does it help storage of databases?

1133


Is like operator in sql case sensitive?

1077


Define overloaded procedure?

1133


How much does sql cost?

1067


What is the purpose of a secondary key?

1019


What is sqlservr exe?

1029