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

What is the command used to recompile the stored procedure at run time?

1083


What is function of ROLLUP ?

1086


What is use of attributehierarchyenabled? : sql server analysis services, ssas

1242


Explain what is raid and what are different types of raid levels?

1027


What are recommended options to be used while using db mirroring? : sql server database administration

1164


How can you find out which stored procedures are recompiling?

920


Does sql server use t sql?

1027


Does the order of columns in update statements matter?

916


Can we perform backup restore operation on tempdb? : sql server database administration

1001


Tell me what is the stuff and how does it differ from the replace function?

983


How do we know if any query is retrieving a large amount of data or very little data?

977


Explain magic tables in sql server?

1062


In which tcp/ip port does sql server run? Can it be changed?

992


What will be the maximum number of indexes per table?

963


What is an identity column in insert statements?

1025