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

A table contains list of customers and his city with other
details. Each customer has a unique number and the table
consists millions of data. Query is: I want to retrieve 10
customers from each city, no script, only from single query?

Answer Posted / sonal parekh

select Top 10 CustomerName, city from customer

Is This Answer Correct ?    5 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about sql server login?

1139


What happens if you add a new index to large table?

984


How to manipulate data from one table to another table ?

1022


How to rename an existing column with the "sp_rename" stored procedure in ms sql server?

1153


What is the chart in report?

165


Is the log file is a part of file group?

1097


How to call stored procedure using http soap?

1130


How do I install sql server?

937


Which is the best place or learning center for MS SQL?????In Bangladesh?????

2114


What does top operator do?

1081


what's the difference between delete table and truncate table commands? : Sql server database administration

1041


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1268


Name the different type of indexes in sql?

1013


Why is normalisation important?

989


How to get a list of columns in a view using "sys.columns" in ms sql server?

1043