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

Which language is supported by sql server?

956


What is resource governor?

927


What is indexed view? How to create it?

932


what are the different ways to return the rowcount of a table?

945


What are the operating modes in which database mirroring runs?

1028


what are the three command line utilities and what are their primary functions?

136


How is sql used in sql server?

944


How can I change procedure name in sql server?

975


Where sql server usernames and passwords are stored in a sql server?

936


What is a partition function in sql server?

1024


What are different types of raid configurations? : SQL Server Architecture

1008


Explain syntax for disabling triggers?

974


What are difference between Cluster index and Non-Cluster index?

1022


What are the different types of Indexes available in SQL Server?

951


How to create user messages with print statements in ms sql server?

943