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 select 5 to 7 rows from a table, which contains 10 rows?

Answer Posted / s. ramesh

select * from ( select rownum r, comp_name from metatest )
where r > 4 and r < 8;

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create percentile function?

139


What is exporting utility?

952


Explain about Normalization?

1012


What are secondary xml indexes?

984


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

1001


Explain ms sql server reporting services vs crystal reports?

855


What is sql server locking?

936


What does Master database contains?

1083


What does the update command do?

1050


How can you set the threshold at which sql server will generate keysets asynchronously?

938


Explain Geography datatype in SQL Server

1060


How to integrate the ssrs reports in application?

934


Can You Use Data Mining Models In Ssrs?

139


What is BCP? When does it used in sql server 2012?

998


Other than truncate statement, which other command can by-pass the trigger on the tables?

1065