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

i have other idea if there is no duplicate record in the
table you can use this


select top 7 *from employee
except
select top 4 *from employee

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a collation?

1035


Can you explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

934


Explain sql delete command?

1002


Can we store videos inside the sql server table?

907


What is update locks?

831


What does COMMIT command do?

1006


If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?

887


Explain what are the restrictions while creating batches in sql server?

1020


What is bulkcopy in sql?

899


What are the advantages of sql azure?

138


How column data types are determined in a view?

897


What are the purposes and advantages stored procedure?

888


What is the query and subquery?

1025


What is change data capture (cdc) feature?

997


what are triggers? : Sql server database administration

862